https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100725
--- Comment #2 from Dave Love <fx at gnu dot org> --- (In reply to Jakub Jelinek from comment #1) > Those binutils are too old for dwarf5. > When the linker doesn't print any diagnostics, that isn't a big deal, but if > it needs to diagnose something and parse DWARF for that, you need 2.35 or > later. Does that mean you can't reasonably use 11 on most distributions without explicitly using -gdwarf-4? The release notes suggested to me it would still work, just not with full functionality somehow, and there is some adjustment for the binutils version. Is there some way to configure it to default to DWARF 4 other than, I guess, adding specs to treat -g as -gdwarf-4?