I added the following entry to the environment variable CFLAGS and to the
CFLAGS entry in glibcbug - -D__PIC__ ... got the same error.
On Fri, 20 Apr 2001, Bryan Chua wrote:
> I ran into this at some point and tracked it down to adding -D__PIC__ to
> CFLAGS. I don't think it is necessary on newer (unreleased) compilers.
> -- bryan
> "George Gensure,,," wrote:
> > I get the following error while trying to cross-build glibc for mips on
> > an i686. Can anyone give any insight?
> > ../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: *** [/usr/local/crossbuild/glibc-build/setjmp/setjmp.o] Error 1
> > make: Leaving directory `/usr/local/crossbuild/glibc-2.2/setjmp'
> > make: *** [setjmp/subdir_lib] Error 2
> > make: Leaving directory `/usr/local/crossbuild/glibc-2.2'
> > make: *** [install] Error 2
> > George
> > email@example.com