https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534
--- Comment #1 from jon_y <10walls at gmail dot com> --- Weak symbols aren't quite supported with PE, I'm not sure if making the symbol weak is the right approach. Do you have a test case to show this will lead to the correct behavior with MAKE_DECL_ONE_ONLY?