http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53831
--- Comment #3 from Yuri Gribov <tetra2005 at gmail dot com> 2012-07-03 10:45:09 UTC --- I don't think linker can do much after gcc removes the symbol from symtab. BTW it would help a lot if linker verified that LTO and ELF symtabs actually match. Currently mismatches causes all sorts or weird errors which are somewhat hard to understand without getting your hands dirty.