https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860
--- Comment #29 from cqwrteur <unlvsur at live dot com> --- (In reply to Mikael Pettersson from comment #25) > Created attachment 50138 [details] > 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? test success. you can merge it to master now