[Bug default/27400] odr tests fail with -gdwarf-5
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sat Feb 13 08:37:22 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=27400
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
I've looked at the odr-struct.sh fail.
First of all, odr is not enabled because the language is DW_LANG_C_plus_plus_14
instead of DW_LANG_C_plus_plus, so we need this in a few places:
...
case DW_LANG_C_plus_plus:
+ case DW_LANG_C_plus_plus_03:
+ case DW_LANG_C_plus_plus_11:
+ case DW_LANG_C_plus_plus_14:
...
Then, it seems the checksums for both struct aaa are different, because of
processing a DW_AT_decl_line with DW_FORM_implicit_const. The const has the
same value (according to readelf), but somehow the resulting hashes are
different.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list