This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug target/32462] [4.3 regression] Linking libgcj.so fails on Solaris 10/x86



------- 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


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