On Feb 6 21:38, Bruno Haible wrote: > Corinna Vinschen wrote: > > I just ran the setlocale_null-mt-* tests with gnulib from git master > > under Cygwin with my newlib patch, and the tests succeeded. I checked > > that configure is doing the right thing and config.h contains the right > > settings: > > > > $ ./configure > > [...] > > checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes > > checking whether setlocale (category, NULL) is multithread-safe... yes > > [...] > > $ grep SETLOCALE_NULL config.h > > #define GNULIB_TEST_SETLOCALE_NULL 1 > > #define SETLOCALE_NULL_ALL_MTSAFE 1 > > #define SETLOCALE_NULL_ONE_MTSAFE 1 > > $ grep SETLOCALE_NULL gltests/config.h > > #define GNULIB_TEST_SETLOCALE_NULL 1 > > #define SETLOCALE_NULL_ALL_MTSAFE 1 > > #define SETLOCALE_NULL_ONE_MTSAFE 1 > > Excellent! Thank you. > > The lasts remaining steps, to resolve the issue, are (as far as I see it): > 1. 'recode' is updated to a current gnulib and publish a corresponding > tarball. (Hi Reuben :) ) > 2. Then the Cygwin program packagers build this tarball on a Cygwin of > version ≥ 3.4.6.
Incidentally I'm the maintainer of the recode package in the Cygwin distro and I built 3.7.12 (as in Fedora 37) with -Wl,--export-all-symbols, which also does the trick for now. Thanks, Corinna