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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Note that Gold does not exhibit this issue. I think ld.bfd is at fault here.

We've hit similar issues with some internal plugin development. The main issue
is, ld.bfd feeds the plugin with objects extracted from static archives, but
those objects do not satisfy any unresolved references and would not be
extracted in the first place in non-LTO link. So ld.bfd is causing useless
extra work both for itself and the compiler plugin.

It would be nice to fix this on ld.bfd side so future plugin writers don't need
to wrestle with this issue.

Reply via email to