From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27395 invoked by alias); 13 Feb 2013 22:33:50 -0000 Received: (qmail 27344 invoked by uid 48); 13 Feb 2013 22:33:33 -0000 From: "devurandom at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64 Date: Wed, 13 Feb 2013 22:33: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: devurandom at gmx dot net X-Bugzilla-Status: UNCONFIRMED 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: 2013-02/txt/msg01370.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55886 --- Comment #1 from devurandom at gmx dot net 2013-02-13 22:33:33 UTC --- Created attachment 29447 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D29447 gcc-4.7.2-define-have_gas_aligned_comm.patch (In reply to comment #0) > case $target_os in > 3604: cygwin* | pe | mingw32* | interix*) > # Recent binutils allows the three-operand form of ".comm" on PE. Th= is > [...] > At least the last one (gcc/configure.ac:3604) is wrong and leads to > HAVE_GAS_ALIGNED_COMM being undefined for mingw64, which makes gcc/option= s.c > (autogenerated file) fail to compile: > options.c:952:3: error: =E2=80=98HAVE_GAS_ALIGNED_COMM=E2=80=99 undeclare= d here (not in a > function) Attached patch fixes this error. However, I ran into further problems (bug #56311), so it might have other side-effects.