From be6dad0edf123fc5cf953c248ca02cfcd7592094 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 11 Feb 2026 13:05:18 +0000 Subject: [PATCH] libstdc++: Add missing exports for std::call_once on Windows [PR123908] libstdc++-v3/ChangeLog: PR libstdc++/123908 * config/abi/pre/gnu.ver (GLIBCXX_3.4.35): Add exports for std::__get_once_callable and std::__get_once_call. --- libstdc++-v3/config/abi/pre/gnu.ver | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index fb78782eaf6..fb968e122d8 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -2586,6 +2586,12 @@ GLIBCXX_3.4.35 { _ZNSt12__cow_stringaSERKS_; _ZNSt12__cow_stringaSEOS_; _ZNKSt12__cow_string5c_strEv; + +#if defined (_WIN32) && !defined (__CYGWIN__) + _ZSt19__get_once_callablev; + _ZSt15__get_once_callv; +#endif + } GLIBCXX_3.4.34; # Symbols in the support library (libsupc++) have their own tag.