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.