This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Trouble compiling gcc 3.2 on Linux Playstation 2
- From: "J. Scott Edwards" <sedwards at xmission dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 31 Oct 2002 08:26:46 -0700 (MST)
- Subject: Trouble compiling gcc 3.2 on Linux Playstation 2
I get the following error when trying to make bootstrap on a Playstation
2 Linux machine:
./xgcc -B./ -B/usr/local/mipsel-pc-linux-gnu/bin/ -isystem /usr/local/mipsel-pc-linux-gnu/include -isystem /usr/local/mipsel-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_negvdi2 -c ../../gcc-3.2/gcc/libgcc2.c -o libgcc/./_negvdi2.o
./xgcc -B./ -B/usr/local/mipsel-pc-linux-gnu/bin/ -isystem /usr/local/mipsel-pc-linux-gnu/include -isystem /usr/local/mipsel-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_ctors -c ../../gcc-3.2/gcc/libgcc2.c -o libgcc/./_ctors.o
./xgcc -B./ -B/usr/local/mipsel-pc-linux-gnu/bin/ -isystem /usr/local/mipsel-pc-linux-gnu/include -isystem /usr/local/mipsel-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_divdi3 -c ../../gcc-3.2/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
/tmp/cc0GVsc4.s: Assembler messages:
/tmp/cc0GVsc4.s:1175: Error: Can not represent BFD_RELOC_32_PCREL relocation in this object file format
/tmp/cc0GVsc4.s:1205: Error: Can not represent BFD_RELOC_32_PCREL relocation in this object file format
make[3]: *** [libgcc/./_divdi3.o] Error 1
make[3]: Leaving directory `/usr.orig/src/gcc3/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/usr.orig/src/gcc3/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr.orig/src/gcc3/gcc'
make: *** [bootstrap] Error 2
My configure line was:
../gcc*/configure --disable-nls --disable-shared --disable-biendian
(I have also tried it without the --disable-shared with the same result).
The compiler I used to build it was 2.95.2 mipsEEel-linux.
The assembler was:
GNU assembler 2.9-ee-990721
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `mipsEEel-linux'.
uname -a:
Linux ps2linux 2.2.21-pre1-xr7 #1 Sat Jul 6 13:49:08 EDT 2002 mips unknown
Can anyone suggest how I should proceed? Should I try to integrate the
changes made to the 2.95.2 compiler into 3.2? Or would it be easier to
try to get 3.2 to just run on it?
Thanks
-Scott