[Bug lto/46948] [4.6 Regression] Undefined reference errors, LTO, and visibility
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 26 15:03:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46948
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |hubicka at gcc dot gnu.org
Resolution| |INVALID
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-26 14:49:02 UTC ---
This is documented feature.
See "Hidden symbols used from non-link time objects now have to be explicitly
annotated with externally_visible when the linker plugin is not used." at
changes.html
W/o handling hidden visibility the "optimistic" way, we would need extra
attributes to make LTO effective w/o plugin on shared libs (since
-fwhole-program + externally_visible flag is not too handy there given that
most programs was decorated the other way arround with hidden visibilities).
More information about the Gcc-bugs
mailing list