------- Comment #6 from aph at gcc dot gnu dot org 2007-07-09 10:36 ------- _ZN4java4lang12PosixProcess9queueLockE is defined in the assembly source:
.globl _ZN4java4lang12PosixProcess9queueLockE .bss .align 4 .type _ZN4java4lang12PosixProcess9queueLockE, @object .size _ZN4java4lang12PosixProcess9queueLockE, 4 _ZN4java4lang12PosixProcess9queueLockE: .zero 4 So, the question is why the linker is complaining that "a GOT relative relocation must reference a local symbol" since it is defined locally and it should be possible to calculate its offset from the GOT. -- aph at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aph at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32462