This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2008 23:31:17 -0000
- Subject: [Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected
- References: <bug-37068-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2008-10-31 23:31 -------
Subject: Re: [4.4 Regression] libgcj linkage failure: Incorrect library ABI
version detected
> It seems that when using collect2 the global constructor for libgcj
> calls _Jv_RegisterClass more than once for the same class.
This seems to be because org-xml.o, for example, contains two global
constructors:
_GLOBAL__I_65535_0__var_tmp__cc4hyJYpjx_4B3F0796_410DDDB4
_GLOBAL__I_65535_1__var_tmp__cc4hyJYpjx_4B3F0796_410DDDB4
Both register the same classes.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37068