[Bug lto/49664] New: liblto_plugin.so exports too many symbols

jsm28 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 6 22:22:00 GMT 2011


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

           Summary: liblto_plugin.so exports too many symbols
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jsm28@gcc.gnu.org


The dynamic symbol table of liblto_plugin.so contains lots of libiberty symbols
that should not be part of the plugin's interface.  I think the "onload" symbol
is the only one that actually needs to be exported; the rest should be hidden
by an appropriate version script when the plugin is built, if this is supported
on the host.



More information about the Gcc-bugs mailing list