This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53282] lto and visibility-inlines-hidden makes "wrongly" hidden symbols and in a way that depends on the order of the input compilation units
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 May 2012 13:45:15 +0000
- Subject: [Bug lto/53282] lto and visibility-inlines-hidden makes "wrongly" hidden symbols and in a way that depends on the order of the input compilation units
- Auto-submitted: auto-generated
- References: <bug-53282-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53282
--- Comment #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-09 13:45:15 UTC ---
(In reply to comment #11)
> if I add -fuse-linker-plugin I get
> c++: error: -fuse-linker-plugin is not supported in this configuration
>
> my understanding was that since 4.6 linker-plugin was not required anymore for
> lto
Since GCC 4.6 a linker-plugin is used automatically if a suitable linker is
found. If that doesn't work for you that means the configure check
"linker plugin support"
fails - you have to check why. Did you build binutils with support for
plugins?