https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98729
--- Comment #9 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- The attached .exe will run on Windows after removing the section called `/20` from the PE file using: `strip conftest.exe --remove-section="/20"` I don't know what this section does, but I did notice it contains a reference to `cygwin.S`, which I didn't expect to see in a pure MinGW binary.