http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469

--- Comment #12 from Markus Trippelsdorf <octoploid at yandex dot com> ---
(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.

Thanks for your analysis. I just added a few __attribute__((used)) for 
now and this fixes the issue.

Reply via email to