This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]