gcc-2.95.3 on mipsel
Dan Kegel
dank@kegel.com
Wed Dec 10 17:37:00 GMT 2003
Stuart Hughes wrote:
> I've been trying to build the gcc-2.95.3-glibc-2.2.2 toolcombo on mipsel
> and it dies with:
>
> ../sysdeps/mips/setjmp.S: Assembler messages:
> ../sysdeps/mips/setjmp.S:43: Error: Can not represent
> BFD_RELOC_16_PCREL_S2 relocation in this object file format
> make[2]: ***
> [/usr/src/rpm/BUILD/crosstool/build/mipsel-linux/gcc-2.95.3-glibc-2.2.2
>
> I googled a lot and found:
>
> glibc-2.2.5-mips-clone-local-label.patch
>
> Which is similar, but I'm surprised that I'd need to do this for
> setjmp.S, as I would have thought that this version of gcc has been
> built many times for mipsel. This seems to be a gcc bug.
Does that patch fix your problem? If so, run with it...
that toolcombo is old, and there were bound to be lots of problems.
(I'd advise updating to glibc-2.2.5 if you can.)
Here's what Karim said last time this came up:
http://www.embeddedtux.org/pipermail/etux/2003-September/000338.html
- Dan
------
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