MIPS GOT overflow in gcc 3.2.
H. J. Lu
hjl@lucon.org
Mon Jul 1 18:46:00 GMT 2002
On Mon, Jul 01, 2002 at 06:29:24PM -0700, H. J. Lu wrote:
>
> libjava failed to build. I got so many
>
> .libs/prims.o: In function `_Jv_ThrowBadArrayIndex':
> /home/hjl/work/gnu/src/gcc/gcc/libjava/prims.cc:313: relocation truncated to
> fit: R_MIPS_GOT16 java::lang::ArrayIndexOutOfBoundsException::class$
> .libs/prims.o: In function `_Jv_ThisExecutable(char const*)':
> /home/hjl/work/gnu/src/gcc/gcc/libjava/prims.cc:722: relocation truncated to
> fit: R_MIPS_CALL16 strcpy
> .libs/jni.o: In function `mangled_name':
> /home/hjl/work/gnu/src/gcc/gcc/libjava/gcj/cni.h:70: relocation truncated to
> fit: R_MIPS_CALL16 java::lang::Class::getName()
> .libs/jni.o: In function `mangled_name':
> :50: relocation truncated to fit: R_MIPS_CALL16 java::lang::Class::getName()
>
> I don't know if it is due to GOT overflow or something else. gcc 3.1.1
> builds fine.
>
For gcc 3.1.1, I got
[17] .got PROGBITS 0068b8a0 64b8a0 00ff90 04 WAp 0 0
16
0x00ff90 is very close to 64K. I thought it would only happen to KDE.
H.J.
More information about the Binutils
mailing list