https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So you need to figure it out, most people here don't have any access to Windows. If mingw64 is using binutils, there were important DWARF 5 related bugs in in binutils 2.35, but for the known ones we've added workarounds. And much older binutils don't really cope with DWARF 5 at all, but that on Linux certainly doesn't result in inability to properly link programs.