https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865
--- Comment #24 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Costas Argyris from comment #23) > Created attachment 54730 [details] > Make symbol optional > > Could you please try this patch? Didn't test this completely, but it did allow the build to continue. The error was caused by the fact that `sym-mingw32.o` was not built. Also the variable in `sym-mingw32.cc` had better have `extern "C"`.