From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21670 invoked by alias); 1 Apr 2012 17:29:43 -0000 Received: (qmail 21652 invoked by uid 22791); 1 Apr 2012 17:29:42 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 01 Apr 2012 17:29:29 +0000 From: "iains at gcc dot gnu.org" To: java-prs@gcc.gnu.org Subject: [Bug java/52805] [4.8 Regression] 243 new GCC HEAD@185977 regressions (libjava failures) Date: Sun, 01 Apr 2012 17:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-q2/txt/msg00003.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52805 --- Comment #2 from Iain Sandoe 2012-04-01 17:28:47 UTC --- I suspect you might have altered the priority of class discovery methods inadvertently. e.g. AFAICT, although darwin defines JCR_SECTION_NAME, there is no crt machinery to deal with it [darwin has it's own crt code] - it's on my TODO to look at that & confirm/deny/fix as appropriate. not sure why i686-pc-linux is failing tho (since crtstuff does seem to have provision for JCR - but not checked in any depth). Darwin folks might like to try: Index: gcc/config/darwin.h =================================================================== --- gcc/config/darwin.h (revision 186018) +++ gcc/config/darwin.h (working copy) @@ -847,6 +847,7 @@ enum machopic_addr_class { /* Java runtime class list. */ #define JCR_SECTION_NAME "__DATA,jcr,regular,no_dead_strip" +#define TARGET_USE_JCR_SECTION 0 #undef ASM_PREFERRED_EH_DATA_FORMAT #define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \