[libcxx-commits] [libcxx] [libc++] Don't export ABI tagged __str_to_float_c_locale specializations on MinGW (PR #229456)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 14 05:15:29 PDT 2026


mstorsjo wrote:

Yes, this does seem to fix the issue.

I checked the diff of exported symbols with this change, and the diff is this:
```diff
--- exports-orig        2026-10-14 14:41:47.084140724 +0300
+++ exports-new 2026-10-14 14:41:30.628121127 +0300
@@ -1626,9 +1626,8 @@
 _ZNSt3__18__locale12__mb_len_maxENS0_10__locale_tE
 _ZNSt3__18__locale12__mbsnrtowcsEPwPPKcyyP9_MbstatetNS0_10__locale_tE
 _ZNSt3__18__locale12__wcsnrtombsEPcPPKwyyP9_MbstatetNS0_10__locale_tE
+_ZNSt3__18__locale18__strtold_c_localeEPKcPPc
 _ZNSt3__18__locale21__get_locale_encodingENS0_10__locale_tE
-_ZNSt3__18__locale23__str_to_float_c_localeB11n240000qe26IeEET_PKcPPc
-_ZNSt3__18__locale23__str_to_float_c_localeB11n240000qe26IfEET_PKcPPc
 _ZNSt3__18__locale7__btowcEiNS0_10__locale_tE
 _ZNSt3__18__locale7__wctobEtNS0_10__locale_tE
 _ZNSt3__18__locale8__mbrlenEPKcyP9_MbstatetNS0_10__locale_tE
```

Running the libc++ testsuite in the configuration where I hit this issue before now also seems to pass.

Thanks!

https://github.com/llvm/llvm-project/pull/229456


More information about the libcxx-commits mailing list