This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
- From: "devurandom at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Feb 2013 22:33:33 +0000
- Subject: [Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
- Auto-submitted: auto-generated
- References: <bug-55886-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55886
--- 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=29447
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. This
> [...]
> 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/options.c
> (autogenerated file) fail to compile:
> options.c:952:3: error: âHAVE_GAS_ALIGNED_COMMâ undeclared 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.