error during compile GCC-3.3.1 Pass 1

Sebastien Deligny sdeligny at tele2.fr
Fri Mar 26 10:14:59 PST 2004


Le Vendredi 26 Mars 2004 09:46, Jeremy Utley a écrit :
> On Fri, 2004-03-26 at 00:38, Sebastien Deligny wrote:
> > 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?
> >
> > Seb
>
> Let me guess - building from a mandrake host distro?
>
> Try installing glibc-static-devel rpm from your 3rd CD of
> mandrake.
>
> -J-
 That's working! Thanks for your help. But now I have an other 
problem when I check binutils-2.14 after the pass 2. I have this 
message:

               === ld Summary ===

# of expected passes            191
# of unexpected failures        1
# of expected failures          1
/mnt/lfs/sources/binutils-build/ld/ld-new 20030612

make[4]: *** [check-DEJAGNU] Error 1
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: *** [check-ld] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [check] Error 2

I read that I would have only expected errors! What do you think 
about it? (I have no problem with configure, make and make 
install)

Seb




More information about the lfs-support mailing list