https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534

--- Comment #3 from jon_y <10walls at gmail dot com> ---
My experience with weak symbols on mingw is that it will lead to an undefined
symbol error if it was the only symbol definition.

It only works if the weak symbol was encountered before the undefined symbol,
reversing the usual symbol resolution order.

So marking linkonce symbols as weak seems to be a strange solution to me.

Reply via email to