This is the mail archive of the gcc@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]

Re: MIPS cross glibc?


"Brian R. Gaeke" <brg@sartre.dgate.ORG> writes:

> Sorry for the terseness of this query, but: using gcc-2.95.2 and
> binutils 2.10 configured --host=i686-pc-linux-gnu --target=mipsel-linux
> I am trying to compile glibc 2.1.92 with the same target.  I get this
> error message from the assembler:
> 
> ./sysdeps/mips/setjmp.S:43: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format.
> 
> I'm not quite sure where to start with this -- should I be using a different
> compiler? a different binutils (and hence a different as)? a different glibc?
> I thought that ELF could handle the BFD_RELOC_16_PCREL_S2 relocation, but I'm
> not even certain that it should be generated here.

I think that's supposed to work.  At least, it did when I put it in.
Try submitting a bug report against binutils---it should be sufficient
to try assembling just that line in setjmp.S.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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