https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63239
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Mark Wielaard from comment #6) > It looks like for some reason Darwin defaults to some ancient (v2) strict > version of DWARF. Please try adding -gno-strict-dwarf -gdwarf-4 to > gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C dg-options. The reason for that is that Darwin has a set of tools that crash or otherwise break on valid DWARF 3 or DWARF 4 or various extensions. So using -gdwarf-2 and -gstrict-dwarf by default is necessary because of badly written toolchain.