https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860
Mikael Pettersson <mikpelinux at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #25 from Mikael Pettersson <mikpelinux at gmail dot com> --- Created attachment 50138 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50138&action=edit do not default to dwarf5 on Windows I have the same problem with gcc-11 bootstrap failures due to Exec format errors post stage 1 on Cygwin64, even with current binutils master. I don't know if it's a bug in binutils or a limitation in Windows, but DWARF5 clearly does not work there, so this patch disables it. Works for me on Cygwin64. Can someone please test it on mingw-w64?