How to elf/tst-ldconfig-* in cross test setup
DJ Delorie
dj@redhat.com
Wed Mar 11 21:36:24 GMT 2020
Vineet Gupta via Libc-alpha <libc-alpha@sourceware.org> writes:
> The issue is expected src-path for dso.
>
> | [pid 168] renameat(AT_FDCWD, "/usr/lib/tst-ldconfig-ld-mod.so", AT_FDCWD,
> | "/tmp/tst-ldconfig/libldconfig-ld-mod.so") = -1 EXDEV
> | (Invalid cross-device link)
>
> In cross setup, /usr/lib needs to be the host path where test is built or the dso
> needs to be copied over to target at the canonical location. I'm not sure what the
> right approach is so any pointers would be great.
This rename should be happening inside the test-container, in a
subdirectory of the build, so should not be a cross-dev link. Are you
trying to run these tests manually?
More information about the Libc-alpha
mailing list