https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Component|tree-optimization |lto --- Comment #28 from Richard Biener <rguenth at gcc dot gnu.org> --- >From the description it might be worth to check the behavior when using gold vs. BFD. But yes, symbols from the standard runtime have long been a problem with LTO and the way we do linking "twice". OTOH the linker _does_ see the memset symbol but it seems to ignore it? And AFAIK the resolution we get from the linker isn't able to tell us that there's another provider of a symbol.