gcc 3.2 compile trouble.

Ian Molton spyro at f2s.com
Thu Oct 17 18:10:39 PDT 2002


Hi.

I just tried to build gcc 3.2 on a FRESH chapter 5, immediately after a
glibc 2.3.1 install using the patch that removed about 6 lines from one
of the files. (something to do with symbol exportation, IIRC).

My /only/ change to chap5 is that I used the -zcombreloc hint and made a
wrapper script for ld as described therein.

however, the 'by the book' gcc instructions fail.

for some reason the GCC configure scripts select i686-pc-linux-gnuoldld.

I forced it to use --host=i686-pc-linux-gnu but it failed during
compilation with:

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem
/usr/i686-pc-linux-gnu/include -isystem
/usr/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.2/gcc
-I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config
-I../../gcc-3.2/gcc/../include  -DL_muldi3 -c
../../gcc-3.2/gcc/libgcc2.c -o libgcc/./_muldi3.o
/static/bin/ld.orig: no input files
collect2: ld returned 1 exit status
make[3]: *** [libgcc/./_muldi3.oS] Error 1
make[3]: Leaving directory `/usr/src/lfs/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/usr/src/lfs/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/src/lfs/gcc-build/gcc'
make: *** [bootstrap] Error 2

Has anyone seen this before? the GCC build isnt very clear about what
exactly failed...
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list