This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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 #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


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