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 java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected



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


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