[lfs-support] problems with glibc

Andrew Benton andy at benton.eu.com
Sat Mar 24 17:46:54 PDT 2012


On Sun, 25 Mar 2012 00:13:32 +0000
"mike" <mstopka at jmshosting.us> wrote:

> hi,
> 
> i followed the book to a letter then when i do a make on glibc i get the
> following
> 
> c -lgcc_eh  `i686-lfs-linux-gnu-gcc  --print-file-name=crtend.o`
> /mnt/lfs/sources/glibc-build/csu/crtn.o                     
> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.6.2/../../../../i686-lfs-
> linux-gnu/bin/ld: cannot find -lgcc_eh           

ld cannot find libgcc_eh.a
Did you
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
like it says on the bottom of the first gcc page?
http://www.linuxfromscratch.org/lfs/view/development/chapter05/gcc-pass1.html

Andy



More information about the lfs-support mailing list