Glibc make fails with Error 2

Kyle Brennan kyle_bren at
Sun May 23 17:23:41 PDT 2010

On 05/22/2010 04:11 PM, Bruce Dubbs wrote:
> Kyle Brennan wrote:
>> Hi,
>> I am new here and I am attempting my first LFS build.  I get to Glibc in
>> chapter 5.7 and everything goes smoothly until i get to the "make"
>> command.  I run the command and it works for about fifteen minutes and
>> it Gives me the following error:
>> make: *** [all] Error 2
>> then it quits to the prompt.
> That's a little light on info.  Give us the last 20-30 lines before the
> final error message.
>     -- Bruce
sorry about the late reply, my emails were being classified as spam.

Here Is the console output:

make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/string'
make subdir=time -C ../time ..=../ objdir=/mnt/lfs/sources/glibc-build 
-f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
make[4]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[3]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/elf'
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/elf'
make  subdir=csu -C csu ..=../ others
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/csu'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/csu'
make  subdir=iconv -C iconv ..=../ others
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/iconv'
i686-lfs-linux-gnu-gcc -nostdlib -nostartfiles -o 
-Wl,-dynamic-linker=/tools/lib/   -Wl,-z,combreloc 
-Wl,-z,relro -Wl,--hash-style=both 
/mnt/lfs/sources/glibc-build/csu/crti.o `i686-lfs-linux-gnu-gcc 
/mnt/lfs/sources/glibc-build/libc_nonshared.a -lgcc -lgcc_eh  
`i686-lfs-linux-gnu-gcc --print-file-name=crtend.o` 
cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the lfs-support mailing list