https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |15.0 Status|NEW |ASSIGNED Assignee|jwakely.gcc at gmail dot com |redi at gcc dot gnu.org --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah! that explains it. The --enable-clocale=gnu configure option gets ignored: # Sanity check model, and test for special functionality. if test $enable_clocale_flag = gnu; then AC_EGREP_CPP([_GLIBCXX_ok], [ #include <features.h> #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__) _GLIBCXX_ok #endif ], enable_clocale_flag=gnu, enable_clocale_flag=generic) So it's using the generic impl not the gnu one. That makes a lot more sense. Looks like I didn't fix the wchar_t strings in generic/time_members.cc code to make this test work: _M_data->_M_date_time_format = L""; _M_data->_M_date_time_era_format = L""; Those should have been set in r15-4016-gc534e37faccf48