From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19046 invoked by alias); 4 Nov 2008 05:51:09 -0000 Received: (qmail 18987 invoked by alias); 4 Nov 2008 05:51:09 -0000 Date: Tue, 04 Nov 2008 05:51:00 -0000 Message-ID: <20081104055109.18985.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "mark at codesourcery dot com" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2008-q4/txt/msg00041.txt.bz2 ------- 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