From 7d30593c387e5feb0db8ad90d1650ee49361d536 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 7 Mar 2023 14:19:36 +0000 Subject: [PATCH] libstdc++: Fix symver for __gnu_cxx11_ieee128::__try_use_facet [PR108882] libstdc++-v3/ChangeLog: PR libstdc++/108882 * config/abi/pre/gnu.ver (GLIBCXX_3.4.31): Adjust patterns to not match symbols in namespace std::__gnu_cxx11_ieee128. * config/os/gnu-linux/ldbl-ieee128-extra.ver: Add patterns for std::__gnu_cxx11_ieee128::money_{get,put}. --- libstdc++-v3/config/abi/pre/gnu.ver | 3 ++- libstdc++-v3/config/os/gnu-linux/ldbl-ieee128-extra.ver | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 34f23bc..02a449a 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -2484,7 +2484,8 @@ GLIBCXX_3.4.31 { _ZSt8to_charsPcS_DF128_St12chars_formati; _ZSt10from_charsPKcS0_RDF128_St12chars_format; - _ZSt15__try_use_facet*; + _ZSt15__try_use_facetISt*; + _ZSt15__try_use_facetINSt7__cxx11*; _ZNSt6chrono11reload_tzdbEv; _ZNSt6chrono8get_tzdbEv; diff --git a/libstdc++-v3/config/os/gnu-linux/ldbl-ieee128-extra.ver b/libstdc++-v3/config/os/gnu-linux/ldbl-ieee128-extra.ver index 17d6963..20d87a5 100644 --- a/libstdc++-v3/config/os/gnu-linux/ldbl-ieee128-extra.ver +++ b/libstdc++-v3/config/os/gnu-linux/ldbl-ieee128-extra.ver @@ -53,6 +53,8 @@ GLIBCXX_IEEE128_3.4.30 { GLIBCXX_IEEE128_3.4.31 { _ZSt15__try_use_facetINSt17__gnu_cxx_ieee1287num_get*; _ZSt15__try_use_facetINSt17__gnu_cxx_ieee1287num_put*; + _ZSt15__try_use_facetINSt17__gnu_cxx_ieee1289money_get*; + _ZSt15__try_use_facetINSt17__gnu_cxx_ieee1289money_put*; _ZNSt19__gnu_cxx11_ieee1289money_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE2idE; _ZNSt19__gnu_cxx11_ieee1289money_putI[cw]St19ostreambuf_iteratorI[cw]St11char_traitsI[cw]EEE2idE; } GLIBCXX_3.4.31; -- 2.7.4