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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:9e58de3ce00fc2385c9efb7faf321e0c601f0b0c

commit r12-3491-g9e58de3ce00fc2385c9efb7faf321e0c601f0b0c
Author: Andrew Pinski <apin...@marvell.com>
Date:   Sun Sep 12 08:58:16 2021 +0000

    Fix PR lto/49664: liblto_plugin.so exports too many symbols

    So right now liblto_plugin.so exports many libiberty symbols and
    simple_object file symbols but really it just needs to export onload.

    This fixes the problem by using "-export-symbols-regex onload" on
    the libtool link line.

    lto-plugin/ChangeLog:

            PR lto/49664
            * Makefile.am: Export only onload.
            * Makefile.in: Regenerate.

Reply via email to