How to elf/tst-ldconfig-* in cross test setup
Vineet Gupta
Vineet.Gupta1@synopsys.com
Wed Mar 11 19:56:21 GMT 2020
Hi,
The following tests fail invariably on ARC cross testing setup
FAIL: elf/tst-dlopen-self-container
FAIL: elf/tst-dlopen-tlsmodid-container
FAIL: elf/tst-ldconfig-bad-aux-cache
FAIL: elf/tst-ldconfig-ld_so_conf-update
FAIL: elf/tst-pldd
This is despite having ldconfig on target.
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.
Thx,
-Vineet
More information about the Libc-alpha
mailing list