https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #5 from Nick Clifton <nickc at redhat dot com> --- Created attachment 37064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37064&action=edit Define MAKE_DECL_ONE_ONLY for cygming targets Hi Guys, I think that this patch should resolve the problem, although I do not have the means to test it locally. The issue I believe is not that the ming32 definition of bind_local_p is wrong, but rather than G++ thinks that it cannot make the decl weak even though bind_local_p says that it should. By defining MAKE_DECL_ONE_ONLY we allow G++ to make the decl weak and so the compilation works. Well that is the theory at least... If someone could test out this patch I would be very grateful. Cheers Nick