https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123908
--- Comment #22 from Martin Storsjö <martin at martin dot st> ---
(In reply to Jonathan Wakely from comment #19)
> Yes, that's the problem, and this is the fix:
>
> --- a/libstdc++-v3/config/abi/pre/gnu.ver
> +++ b/libstdc++-v3/config/abi/pre/gnu.ver
> @@ -2586,6 +2586,11 @@ GLIBCXX_3.4.35 {
> _ZNSt12__cow_stringaSERKS_;
> _ZNSt12__cow_stringaSEOS_;
> _ZNKSt12__cow_string5c_strEv;
> +
> + # Symbols for *-*-mingw* std::call_once impl
> + _ZSt19__get_once_callablev;
> + _ZSt15__get_once_callv;
> +
> } GLIBCXX_3.4.34;
>
> # Symbols in the support library (libsupc++) have their own tag.
Thanks; I can confirm that this fixes the issue.