https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860
--- Comment #39 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ok, so what do we want to do on the gcc side? Nothing, just tell users they need latest binutils? Or try to add a configure check to detect broken binutils that doesn't handle the DWARF5 new sections and if it detects broken binutils, in ix86_option_override_internal if (TARGET_PECOFF && dwarf_version > 4) and #ifdef the new macro about broken pecoff binutils set dwarf_version to 4 (if !global_options_set.x_dwarf_version silently, otherwise with a warning (but perhaps just once per the whole TU))? As I have no access to Windows, I'm afraid I can't easily write a configure test myself, I can help with the i386-options.c change if needed, but can't test anything.
