error during compile GCC-3.3.1 Pass 1

Sebastien Deligny sdeligny at
Fri Mar 26 00:38:08 PST 2004

Hello, I'm trying to build a LFS system 5.0

When I try to compile gcc-3.3.1 pass 1 at the end of "make 
BOOT_LDFLAGS="-static" bootstrap" I have this error message:

make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3.1/gcc 
-I../../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config 
-I../../gcc-3.3.1/gcc/../include ../../gcc-3.3.1/gcc/gengenrtl.c 
-o gengenrtl.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   
-DHAVE_CONFIG_H -DGENERATOR_FILE -static -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
[lfs at localhost gcc-build]$

I tried to reinstall binutils with fresh download sources but that 
the same probleme! Any idea?


More information about the lfs-support mailing list