https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > one minor remark, while working on a patch, I became aware, > that probably the same will happen when using -gdwarf-5 > with old binutils, since we have this code in dwarf2out.c: People should stick to the default -g, we cannot realistically support multiple combinations of compiler versions, binutils versions and DWARF versions.