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

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #8)
> 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.

The alternative is to ask linker to handle it:

https://sourceware.org/pipermail/binutils/2020-July/112673.html

Reply via email to