[Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Fri Oct 31 19:51:00 GMT 2008
------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2008-10-31 19:50 -------
Subject: Re: [4.4 Regression] libgcj linkage failure: Incorrect library ABI
version detected
> alpha-dec-osf5.1b (with the workarounds mentioned in PR bootstrap/37426) is
> affected as well. _Jv_CheckABIVersion is invoked with 3221625473.
It seems that when using collect2 the global constructor for libgcj
calls _Jv_RegisterClass more than once for the same class. The default
class hook, _Jv_RegisterClassHookDefault, messes with klass->next_or_version.
The attempt at reregistration is not detected before _Jv_CheckABIVersion
is called causing the abort.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37068
More information about the Gcc-bugs
mailing list