http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> --- 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?