public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mckelvey at maskull dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/101369] New: Bootstrap failure of gcc-12-20210704 on Cygwin
Date: Wed, 07 Jul 2021 23:09:40 +0000	[thread overview]
Message-ID: <bug-101369-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2021-07-07 23:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 23:09 mckelvey at maskull dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101369-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).