http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469
--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Markus Trippelsdorf from comment #12) > (In reply to Jan Hubicka from comment #10) > > I also saw in past problems with GNU-ld and comdat symbols becoming static > > while being comdat somewhere else. Do you use gold or ld? Can you perhaps > > try to use the other one and see if anything changes? > > I use gold. But it doesn't matter in this case, because bfd behaves > identical. > Can you try bfd linker, hjl/linux/release/2.24.51.0.2, from https://sourceware.org/git/?p=binutils-gdb.git;a=summary It has a modified LTO bfd linker.