On Sun, 2012-07-01 at 18:20 +0100, Andrew Benton wrote:

> /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.1/../../../../x86_64-lfs-linux-gnu/bin/ld:
>  cannot find -lgcc_s
> collect2: error: ld returned 1 exit status
> make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconv_prog] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/iconv'
> make[1]: *** [iconv/others] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0'
> make: *** [all] Error 2
> 
> Fixed by:
> sed -i 's# -lgcc_s##' Makeconfig
> (We won't hit the libgcc_s.so problem with Gcc until we start using
> Gcc-4.7.2)

Hi Andy, I've finally gotten around to looking at this.  You mention we
won't start hitting this until we start using GCC-4.7.2, but I saw it
tonight using 4.7.1, as did you by the looks of the first line in your
log output above?  Is there another issue you're anticipating when 4.7.2
is released?

Thanks,

Matt.

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

Reply via email to