[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
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 9 13:56:00 GMT 2012
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?
More information about the Gcc-bugs
mailing list