[lfs-support] 64 bit host machine build question

Ken Moffat zarniwhoop at ntlworld.com
Fri Mar 21 10:04:42 PDT 2014

On Thu, Mar 20, 2014 at 09:15:35PM -0400, Jonathan Arnold wrote:
> I'm doing the 5.7 glibc-2.19 step and everything seems to be going
> along swimmingly. But the test program mentioned in the Caution isn't
> exactly what is desired:
> lfs:/mnt/lfs/sources/glibc-build$ echo 'main(){}' > dummy.c
> lfs:/mnt/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
> lfs:/mnt/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
>   [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2] 
> While the Caution says to expect the /tools/lib64 part, it doesn't say
> anything about the '-x86-64' I have appended to the name. Is this going
> to be okay or is something amiss here?

 Your result looks fine.  When you get to section 6.10 you will see
that we add the phrase "allowing for platform-specific differences in
dynamic linker name".  If you look at your host system, the linker
will be ld-linux-x86-64.so for 64-bit x86_64.

das eine Mal als Tragödie, dieses Mal als Farce

More information about the lfs-support mailing list