From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11506 invoked by alias); 15 Jun 2011 12:33:23 -0000 Received: (qmail 11497 invoked by uid 22791); 15 Jun 2011 12:33:22 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 15 Jun 2011 12:33:09 +0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 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 Date: Wed, 15 Jun 2011 12:33:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01327.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415 --- Comment #2 from Dominique d'Humieres 2011-06-15 12:33:06 UTC --- > Please try wrapping the problem prototype in #ifdef RTX_CODE, like some > other prototypes in that header. --- /opt/gcc/_clean/gcc/config/darwin-protos.h 2011-04-06 13:56:07.000000000 +0200 +++ /opt/gcc/work/gcc/config/darwin-protos.h 2011-06-15 13:34:23.000000000 +0200 @@ -54,8 +54,11 @@ extern void machopic_finish (FILE *); extern int machopic_reloc_rw_mask (void); extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT); + +#ifdef RTX_CODE extern section *machopic_select_rtx_section (enum machine_mode, rtx, unsigned HOST_WIDE_INT); +#endif /* RTX_CODE */ extern section *darwin_function_section (tree, enum node_frequency, bool, bool); extern void darwin_function_switched_text_sections (FILE *, tree, bool); I am now at stage3 (1.5 hour more to go for full bootstrap).