This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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-2.95.3 on mipsel


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


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