public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/55886] New: gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
@ 2013-01-06 14:08 devurandom at gmx dot net
2013-02-13 22:33 ` [Bug bootstrap/55886] " devurandom at gmx dot net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: devurandom at gmx dot net @ 2013-01-06 14:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55886
Bug #: 55886
Summary: gcc/configure.ac problems lead to GCC 4.7.2 not
building for x86_64-pc-mingw64
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: devurandom@gmx.net
gcc/configure.ac contains several checks for mingw hosts, which are tied to
mingw32 instead of generic mingw. This might lead to problems when
crosscompiling a x86_64-pc-mingw64 compiler.
Possibly problematic lines in gcc-4.7.2/gcc/configure.ac:
case $host in
1453: *-*-mingw32*)
use_cxa_atexit=yes
case $host_os in
1656: win32 | pe | cygwin* | mingw32* | uwin*)
if test "x$enable_win32_registry" != xno; then
[case $target_os in
2565: win32 | pe | cygwin* | mingw32* | uwin*)
# Need to check that we generated the correct relocation for the
case $target_os in
3604: cygwin* | pe | mingw32* | interix*)
# Recent binutils allows the three-operand form of ".comm" on PE. This
They should probably use mingw* instead of mingw32*.
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)
See also: https://bugs.gentoo.org/show_bug.cgi?id=447708
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
2013-01-06 14:08 [Bug bootstrap/55886] New: gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64 devurandom at gmx dot net
@ 2013-02-13 22:33 ` devurandom at gmx dot net
2013-11-25 21:53 ` ktietz at gcc dot gnu.org
2021-08-19 2:26 ` jyong at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: devurandom at gmx dot net @ 2013-02-13 22:33 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
2013-01-06 14:08 [Bug bootstrap/55886] New: gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64 devurandom at gmx dot net
2013-02-13 22:33 ` [Bug bootstrap/55886] " devurandom at gmx dot net
@ 2013-11-25 21:53 ` ktietz at gcc dot gnu.org
2021-08-19 2:26 ` jyong at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-11-25 21:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55886
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-11-25
CC| |ktietz at gcc dot gnu.org
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
The use of target's host-part-name mingw64 is strongly discuraged. Most checks
in binutils, gdb, gcc, etc (and all their testsuites) are using still mingw32.
Therefore for resolve your issue use triplet x86_64-pc-mingw32 instead.
I will keep this bug as long-term issue. Nothing to fix soon.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64
2013-01-06 14:08 [Bug bootstrap/55886] New: gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64 devurandom at gmx dot net
2013-02-13 22:33 ` [Bug bootstrap/55886] " devurandom at gmx dot net
2013-11-25 21:53 ` ktietz at gcc dot gnu.org
@ 2021-08-19 2:26 ` jyong at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jyong at gcc dot gnu.org @ 2021-08-19 2:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55886
jyong at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
CC| |jyong at gcc dot gnu.org
--- Comment #3 from jyong at gcc dot gnu.org ---
x86_64-w64-mingw32 has been the defacto triplet for targeting Windows 64bit
Win32API for awhile now.
Closing this ticket for now.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-19 2:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-06 14:08 [Bug bootstrap/55886] New: gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64 devurandom at gmx dot net
2013-02-13 22:33 ` [Bug bootstrap/55886] " devurandom at gmx dot net
2013-11-25 21:53 ` ktietz at gcc dot gnu.org
2021-08-19 2:26 ` jyong at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).