From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20099 invoked by alias); 7 May 2012 21:14:56 -0000 Received: (qmail 20083 invoked by uid 22791); 7 May 2012 21:14:55 -0000 X-SWARE-Spam-Status: No, hits=-4.3 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; Mon, 07 May 2012 21:14:43 +0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs Date: Mon, 07 May 2012 23:09:00 -0000 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: simon at pushface dot 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" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-05/txt/msg00835.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50342 --- Comment #9 from simon at pushface dot org 2012-05-07 21:13:48 UTC --- (In reply to comment #8) > $srcdir/configure CC=3D"gcc -D_FORTIFY_SOURCE=3D0=E2=80=9D Unfortunately doing this means that =E2=80=9Cgcc -v=E2=80=9D with the built= compiler contains the =E2=80=98CC=3D"gcc -D_FORTIFY_SOURCE=3D0=E2=80=9D=E2=80=99 text in the = Configured with: line, which confuses gprconfig (part of AdaCore=E2=80=99s gprbuild tool). So the way I= =E2=80=99ve adopted for 4.7.0 is to start by $ export CC=3D"gcc -D_FORTIFY_SOURCE=3D0=E2=80=9D $ $srcdir/configure ... $ make