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.

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.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to