[Bug lto/54187] liblto_plugin.so broken with -fvisibility=hidden

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 6 10:45:00 GMT 2012


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-06 10:45:38 UTC ---
All ELF executables have hidden visibility by default if you not export all
dynamic symbols with -Wl,--export-dynamic.  That's what we need for GCC plugins
(_not_ the linker plugin), because plugin shared objects need to be able to
bind to all cc1 symbols.  Thus, disable GCC plugins.



More information about the Gcc-bugs mailing list