http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53282
--- Comment #4 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-05-09 06:29:40 UTC --- Hi Honza, I forgot to say that I tried both -flto-partition=1to1 and -flto-partition=none with the same result the point is that the symbols in question refers to a templated function explicitly defined as template edm::eventsetup::EventSetupRecordKey edm::eventsetup::heterocontainer::makeKey<_recordclassname_, edm::eventsetup::EventSetupRecordKey>() in the attached there are three of those: only one is hidden. In the "real" library there are 307 of those, only 7 are hidden! SO I suspect some sort of bug in lto I will try to produce a synthetic test