This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/46948] [4.6 Regression] Undefined reference errors, LTO, and visibility


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]