This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/46948] [4.6 Regression] Undefined reference errors, LTO, and visibility
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 14:49:04 +0000
- Subject: [Bug lto/46948] [4.6 Regression] Undefined reference errors, LTO, and visibility
- Auto-submitted: auto-generated
- References: <bug-46948-4@http.gcc.gnu.org/bugzilla/>
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).