[Bug debug/63239] DWARF does not represent C++ deleted methods
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 21 13:16:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list