public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin
@ 2021-07-07 23:09 mckelvey at maskull dot com
2021-07-07 23:19 ` [Bug bootstrap/101369] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: mckelvey at maskull dot com @ 2021-07-07 23:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
Bug ID: 101369
Summary: Bootstrap failure of gcc-12-20210704 on Cygwin
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: mckelvey at maskull dot com
Target Milestone: ---
Created attachment 51114
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51114&action=edit
Tarball of build.log and config.log
Recent gcc-11 and gcc-12 snapshots fail with:
/bin/sh: build/genmodes.exe: cannot execute binary file: Exec format error
Using gcc version 11.1.1 20210619:
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-cygwin/11.1.1/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: ./configure --enable-languages=c,c++ --enable-threads=posix
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.1.1 20210619 (GCC)
(Fails the same way on the gcc-10 provided in Cygwin.)
$ uname -r
3.2.0(0.340/5/3)
More context of failure:
/home/McKelvey/gcc-12-20210704/host-x86_64-pc-cygwin/prev-gcc/xg++
-B/home/McKelvey/gcc-12-20210704/host-x86_64-pc-cygwin/prev-gcc/
-B/usr/local/x86_64-pc-cygwin/bin/ -nostdinc++
-B/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs
-B/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs
-I/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/include/x86_64-pc-cygwin
-I/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/include
-I/home/McKelvey/gcc-12-20210704/libstdc++-v3/libsupc++
-L/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs
-L/home/McKelvey/gcc-12-20210704/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs
-g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE
-fno-PIE -static-libstdc++ -static-libgcc -Wl,--stack,12582912 -no-pie -o
build/genmodes.exe \
build/genmodes.o build/errors.o
../../host-x86_64-pc-cygwin/libiberty/libiberty.a
build/genmodes.exe -h > tmp-modes.h
/bin/sh: build/genmodes.exe: cannot execute binary file: Exec format error
make[3]: *** [Makefile:2531: s-modes-h] Error 126
make[3]: Leaving directory
'/home/McKelvey/gcc-12-20210704/host-x86_64-pc-cygwin/gcc'
make[2]: *** [Makefile:4803: all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/McKelvey/gcc-12-20210704'
make[1]: *** [Makefile:23134: stage2-bubble] Error 2
make[1]: Leaving directory '/home/McKelvey/gcc-12-20210704'
make: *** [Makefile:1000: all] Error 2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
@ 2021-07-07 23:19 ` pinskia at gcc dot gnu.org
2021-07-07 23:22 ` mckelvey at maskull dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-07 23:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What binutils (as/ld) you are using? Have you tried a newer version of
binutils?
This could be a binutils bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
2021-07-07 23:19 ` [Bug bootstrap/101369] " pinskia at gcc dot gnu.org
@ 2021-07-07 23:22 ` mckelvey at maskull dot com
2021-07-08 7:40 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mckelvey at maskull dot com @ 2021-07-07 23:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
James McKelvey <mckelvey at maskull dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mckelvey at maskull dot com
--- Comment #2 from James McKelvey <mckelvey at maskull dot com> ---
(In reply to Andrew Pinski from comment #1)
> What binutils (as/ld) you are using? Have you tried a newer version of
> binutils?
> This could be a binutils bug.
$ ld -v
GNU ld (GNU Binutils) 2.36.1
My Cygwin is up-to-date AFAIK.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
2021-07-07 23:19 ` [Bug bootstrap/101369] " pinskia at gcc dot gnu.org
2021-07-07 23:22 ` mckelvey at maskull dot com
@ 2021-07-08 7:40 ` rguenth at gcc dot gnu.org
2021-07-08 16:52 ` mckelvey at maskull dot com
2021-07-08 17:46 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-08 7:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
IIRC there was a recently filed duplicate.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
` (2 preceding siblings ...)
2021-07-08 7:40 ` rguenth at gcc dot gnu.org
@ 2021-07-08 16:52 ` mckelvey at maskull dot com
2021-07-08 17:46 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: mckelvey at maskull dot com @ 2021-07-08 16:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
--- Comment #4 from James McKelvey <mckelvey at maskull dot com> ---
Probably duplicate of 101377 for 11.1.1. I see error for 11 and 12.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/101369] Bootstrap failure of gcc-12-20210704 on Cygwin
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
` (3 preceding siblings ...)
2021-07-08 16:52 ` mckelvey at maskull dot com
@ 2021-07-08 17:46 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-08 17:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101369
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to James McKelvey from comment #4)
> Probably duplicate of 101377 for 11.1.1. I see error for 11 and 12.
It is the same for both.
*** This bug has been marked as a duplicate of bug 101377 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-07-08 17:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 23:09 [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin mckelvey at maskull dot com
2021-07-07 23:19 ` [Bug bootstrap/101369] " pinskia at gcc dot gnu.org
2021-07-07 23:22 ` mckelvey at maskull dot com
2021-07-08 7:40 ` rguenth at gcc dot gnu.org
2021-07-08 16:52 ` mckelvey at maskull dot com
2021-07-08 17:46 ` pinskia 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).