Upgrade LFS-3.0 to Build LFS-6.0

John McSwain jmcswain at infoave.net
Tue Sep 7 07:29:42 PDT 2004

 In preparation of building LFS-6.0, I am attempting to install kernel and gcc 3.4.2.  The current system (i686) is based on LFS-3.0, 
gcc 2.95.3 and kernel-2.4.20.  I've run into a problem trying to build 
gcc-3.4.2.  I applied the No-Fixincludes patch, the linkonce patch and 
performed the sed to suppress liberty.a.

I used this configure:

 ../gcc-3.4.2/configure --prefix=/opt/gcc-3.4.2 --enable-shared --enable-threads=posix 
 --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++

During make I get:

mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/opt/gcc-3.4.2/i686-pc-linux-gnu/bin/ -isystem 
/opt/gcc-3.4.2/i686-pc-linux-gnu/include -isystem 
/opt/gcc-3.4.2/i686-pc-linux-gnu/sys-include -L/usr/src/gcc-3-build/gcc/../ld 
 -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
 -Wold-style-definition  -isystem 
  -I. -I. -I../../gcc-3.4.2/gcc -I../../gcc-3.4.2/gcc/. -I../../gcc-3.4.2/gcc/../include 
   -DL_muldi3 -c ../../gcc-3.4.2/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from /usr/include/signal.h:358,
                 from ../../gcc-3.4.2/gcc/config/i386/linux.h:217,
                 from ./tm.h:11,
                 from ../../gcc-3.4.2/gcc/libgcc2.c:43:
/usr/include/bits/sigthread.h:36: error: storage class specified for 
parameter `type name'
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/usr/src/gcc-3-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/usr/src/gcc-3-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/src/gcc-3-build/gcc'

John McSwain

More information about the lfs-support mailing list