On 2019-02-02 06:49 -0600, Bruce Dubbs via lfs-dev wrote: > On 02/02/2019 05:35 AM, Xi Ruoyao via lfs-dev wrote: > > We should change the command creating the symlink to the dynamic linker so > > the > > test can be run on 32-bit machine: > > > > case $(uname -m) in > > i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;; > > x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib64 ;; > > esac > > I don't have a 32-bit system so I'd need to have someone who does check > if ld-linux.so.2 is correct. The way to check is to try running the > tests without the symlink. It fails very quickly.
In my multilib build, 32-bit glibc testsuite need this symlink. > The test scripts specifically look in /lib so /lib64 would be incorrect > even for a x86_64 system. It might be appropriate for a multilib > system, but I haven't been in the loop for that. It look in libc_cv_slibdir and the book sets it to /lib. So it should be /lib instead of /lib64. My mistake. -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page