This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.2 on Playstation 2 mips



On 30 Oct 2002, Ricardo Anguiano wrote:

> "J. Scott Edwards" <sedwards@xmission.com> writes:
>
> > Hello,
> >
> > I'm trying to upgrade the compiler on Linux Playstation 2 from
> > 2.95.2 to 3.2.  I've tried the ./configure; make bootstrap with some
> > minor variations and it always seems to fail when it gets to
> > compiling libgcc2.c -> _divdi3.o with ./xgcc with complaining that
> > BFD_RELOC_32_PCREL won't fit in the object file format.
>
> >From your statements above, it looks like your build directory is the
> same as your source directory, which is not supported.
>
> If this is the case, see the install pages:
>
>         http://gcc.gnu.org/install/index.html
>
> Specifically see the section on configuring:
>
>         http://gcc.gnu.org/install/configure.html
>

No, I'm building in a separate directory.  I'm trying to follow the
installation instructions as closely as possible.  This is the end of the
make:

./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

Thanks
  -Scott




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]