[PATCH v2 0/4] Fallback <ctype.h> initialization for secondary namespaces (bug 19341, bug 32483)
Florian Weimer
fweimer@redhat.com
Tue May 13 13:34:27 GMT 2025
* Florian Weimer:
> This version merely fixes the LD_LIBRARY_PATH setting in the static
> dlopen test. We should fix $(ld-library-path) to be actually useful.
>
> I could not reproduce the Linaro CI failure, but this should fix it.
> Tested on aarch64-linux-gnu.
>
> Thanks,
> Florian
>
> Florian Weimer (4):
> Remove <libc-tsd.h>
> Optimize __libc_tsd_* thread variable access
> Use proper extern declaration for
> _nl_C_LC_CTYPE_{class,toupper,tolower}
> ctype: Fallback initialization of TLS using relocations (bug 19341,
> bug 32483)
>
> ctype/Makefile | 17 ++++++++
> ctype/ctype-info.c | 29 +++++++------
> ctype/tst-ctype-tls-dlmopen.c | 2 +
> ctype/tst-ctype-tls-dlopen-static.c | 2 +
> ctype/tst-ctype-tls-mod.c | 37 ++++++++++++++++
> ctype/tst-ctype-tls-skeleton.c | 67 +++++++++++++++++++++++++++++
> include/ctype.h | 21 ++++++---
> include/rpc/rpc.h | 5 +--
> locale/lc-ctype.c | 9 ++--
> locale/localeinfo.h | 7 ++-
> locale/uselocale.c | 10 ++---
> locale/xlocale.c | 7 +--
> stdio-common/printf-parsemb.c | 1 +
> string/strerror.c | 2 +-
> sunrpc/rpc_thread.c | 1 -
> sysdeps/generic/libc-tsd.h | 60 --------------------------
> time/strftime_l.c | 1 +
> 17 files changed, 172 insertions(+), 106 deletions(-)
> create mode 100644 ctype/tst-ctype-tls-dlmopen.c
> create mode 100644 ctype/tst-ctype-tls-dlopen-static.c
> create mode 100644 ctype/tst-ctype-tls-mod.c
> create mode 100644 ctype/tst-ctype-tls-skeleton.c
> delete mode 100644 sysdeps/generic/libc-tsd.h
Could I get a review for this patch series, please?
<https://inbox.sourceware.org/libc-alpha/cover.1734675268.git.fweimer@redhat.com/>
Thanks,
Florian
More information about the Libc-alpha
mailing list