gcc-3.3.2 problem in gcc/config/rs6000/linux.h

adams@ftdsb.com adams@ftdsb.com
Sun Nov 2 05:00:00 GMT 2003


I've successfully built the 2.14 binutils for --target=powerpc-linux.  I 
then configured GCC 3.3.2 for the same target along with the 
--with-newlib switch.
It builds along on my Pentium III machine just fine for a long time and 
then runs into the following error:

mkdir libgcc
mkdir nof
mkdir libgcc/nof
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc/xgcc 
-B/usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc/ 
-B/usr/local/tools/ppc_tools/powerpc-linux/bin/ 
-B/usr/local/tools/ppc_tools/powerpc-linux/lib/ -isystem 
/usr/local/tools/ppc_tools/powerpc-linux/include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. 
-I./config -I./../include  -fPIC -mstrict-align -DL_muldi3 -c 
./libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:22,
                 from libgcc2.c:36:
config/rs6000/linux.h:89:20: signal.h: No such file or directory
In file included from tconfig.h:22,
                 from libgcc2.c:36:
config/rs6000/linux.h:98: error: parse error before "stack_t"
config/rs6000/linux.h:98: warning: no semicolon at end of struct or union
config/rs6000/linux.h:100: error: parse error before "uc_sigmask"
config/rs6000/linux.h:100: warning: type defaults to `int' in 
declaration of `uc_sigmask'
config/rs6000/linux.h:100: warning: data definition has no type or 
storage classconfig/rs6000/linux.h:99: error: storage size of 
`uc_mcontext' isn't known
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2


Any ideas?  


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list