[Bug debug/90441] [9/10 Regression] corrupt debug info with LTO

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 13 18:55:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90441

--- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 46348
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46348&action=edit
binaries for test

here is the output from trunk at 271111

For some reason the plugin isn't getting the "-Wl,-debug" flag, so I hacked it
to save the intermediates - that's a separate issue (and I should add
-save-temps there too) - it does work for the collect2 case.

Actually, a quick scan of the files, they seem sensible - but nm still barfs on
the linked output.

JFTR, I still can't see a difference between pre-linked and the tot ..


More information about the Gcc-bugs mailing list