https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The symbol name is computed by appending the DWARF CU chceksum to the base filename of the main TU. That means the actual DWARF is different. Note the symbol(s) could be removed after the link editing step but there's no easy way to do that. Still the actual DWARF would be different. I'll see if I can reproduce the issue.