On 4/16/2019 2:00 PM, spiky0011 via lfs-dev wrote:
Hello
Just going through multilib book
at ch5.7 glibc running sanity check for -mx32
I get wrong output
[Requesting program interpreter: /tools/libx32/ld-linux-x32.so.2 >
not
[Requesting program interpreter: /tools/lib/ld-linux-x32.so.2]
ls -l tools/lib/ld-linux-x32.so.2
tools/lib/ld-linux-x32.so.2 -> /tools/libx32/ld-linux-x32.so.2
I have rebuilt from scratch a couple of times but always the same output?
The 64 part is ok and the -m32 is ok.
All commands were copy & paste.
Sorry you had to do that, but the output you are getting is correct and
the book needs to be updated. libx32 is the correct library directory
for x32 (both ABI and choice for the DL). $PREFIX/lib for x86,
$PREFIX/lib64 for amd64, and $PREFIX/libx32 for x32. I'm not sure about
the symlink, however. I doubt /tools/lib/ld-linux-x32.so.2 should exist,
at least I can't see a reason, but Thomas has more mileage on x32,
hopefully he can chime in here.
--DJ
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page