This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 4 Nov 2008 05:51:09 -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 #23 from mark at codesourcery dot com 2008-11-04 05:51 -------
Subject: Re: [4.4 Regression] libgcj linkage failure: Incorrect
library ABI version detected
aph at gcc dot gnu dot org wrote:
> It's quite likely that the Java FE should not be calling
> cgraph_build_static_cdtor(), but when that call is removed some test
> cases fail. Rather than arguing what priority this should be, all we
> need is someone who actually understands cgraph_build_static_cdtor(),
> and can tell me when it should be called.
You shouldn't call that function. Instead, you should set
DECL_STATIC_{CONSTRUCTOR,DESTRUCTOR}. Then, cgraph will do the right
thing. If necessary, you can also call decl_init_priority_insert.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37068