https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116870
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Target|mingw-w64-x86_64 | Status|UNCONFIRMED |RESOLVED Host|mingw-w64-x86_64 | --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is a binutils (ld) bug and not a GCC bug and should be reported there instead: https://sourceware.org/bugzilla/ . It might be the case that the debug segment needs to be stripped first and seperated into a PDB and then you need to use gcodeview .