This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MIPS cross glibc?
- To: "Brian R. Gaeke" <brg at sartre dot dgate dot ORG>
- Subject: Re: MIPS cross glibc?
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 28 Aug 2000 00:29:39 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20000827232129.A20218@celes.dgate.ORG>
"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>