https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Keywords| |build Summary|'exec format error' on |[11/12 Regression] 'exec |x86_64-w64-mingw32 |format error' on | |x86_64-w64-mingw32 Target Milestone|--- |11.2 Known to fail| |11.1.1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- So it's likely the issue that mingw/cygwin do not like executables with DWARF5 debug and g:cfc9fdcec8861be0d11ec4493cca518bf5b4c32d somehow autodetects support for it in gas which then, despite GCC defaulting to DWARF4 ends up emitting DWARF5 by means of --gdwarf-5 passed to it?