Re: How to elf/tst-ldconfig-* in cross test setup

2020-03-11 Thread DJ Delorie
Vineet Gupta via Libc-alpha 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 b

Re: How to elf/tst-ldconfig-* in cross test setup

2020-03-11 Thread DJ Delorie
Vineet Gupta writes: > No, I'm running this is a cross-compiled setup where the test artifacts are > on a > NFS mounted host. Here's the full strace for test > > > $ strace_static -f > ~/br/build/glibc-867196a7635/build/elf/tst-ldconfig-ld_so_conf-update This is a manual run. Even with a cross

Re: How to elf/tst-ldconfig-* in cross test setup

2020-03-11 Thread DJ Delorie
Vineet Gupta writes: > When you say containers is this linux cgroups or something at a higher > level: does it need any specific distro container package. Please > remember this is a constrained system built off of buildroot. It should not require anything beyond what kernel/glibc provides - we e

Re: How to elf/tst-ldconfig-* in cross test setup

2020-03-11 Thread DJ Delorie
Vineet Gupta writes: >> $ make test-wrapper='> to>/br/build/glibc-867196a7635/scripts/cross-test-ssh.sh root@192.168.0.20' >> xcheck >> subdirs=elf > > FWIW the original failures were here > > lock_fd = open (concat (pristine_root_path, "/lock.fd", NULL), >O_CREAT | O_TRUNC | O_