This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32462] [4.3 regression] Linking libgcj.so fails on Solaris 10/x86
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2007 17:48:01 -0000
- Subject: [Bug target/32462] [4.3 regression] Linking libgcj.so fails on Solaris 10/x86
- References: <bug-32462-81@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from ro at techfak dot uni-bielefeld dot de 2007-07-09 17:48 -------
Subject: Re: [4.3 regression] Linking libgcj.so fails on Solaris 10/x86
aph at gcc dot gnu dot org writes:
> 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.
I've looked up the message in the OpenSolaris ld sources: they are from
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sgs/libld/common/relocate.c
(ld_process_sym_reloc), l. 1187 - 1198 (the message is
MSG_REL_BADGOTBASED). On l. 1116.. there's a description of which symbols
are considered local. I must confess that I don't fully understand what is
going on there ;-)
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32462