Re: [lfs-dev] multilib book SVN-20190327

2019-04-18 Thread Thomas Trepl via lfs-dev
Am Dienstag, den 16.04.2019, 20:00 +0100 schrieb spiky0011 via lfs-
dev:
> 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.
> 

Thanks for reporting this. That was a copy&paste error. Sorry that you
had to waste some (cpu-)seconds with that.

I fixed that along with a merge of upstream changes.

--
Thomas

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

Re: [lfs-dev] multilib book SVN-20190327

2019-04-16 Thread DJ Lucas via lfs-dev

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

[lfs-dev] multilib book SVN-20190327

2019-04-16 Thread spiky0011 via lfs-dev

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.

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