https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- The original pr26324a.o debug info contains reference to xxx. But reference to xxx has been removed by LTO. simple_object_copy_lto_debug_sections fails to remove the un-referenced symbol, xxx, from symbol table.