在 7/11/21 11:08 PM, Jonathan Yong via Gcc-help 写道:
On 7/6/21 8:01 PM, James McKelvey wrote:I have always been able to build snapshots of gcc-11 and gcc-12 on Cygwin, but the latest ones fail. This is the failure: (... ...) 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 (... ...)Please try bisecting the changes.
It looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377 which should have been fixed on trunk, so please try the new snapshot.
The previous failure in that PR occurred during `stage1-bubble` instead of `stage2-bubble`. I don't know what the difference indicates, though.
-- Best regards, LIU Hao
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature