https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589
--- Comment #14 from Mathieu Desnoyers <mathieu.desnoyers at efficios dot com> --- I've proposed a RFC patch on the libc-alpha mailing list which fixes the issue: https://sourceware.org/pipermail/libc-alpha/2021-August/130129.html It does have a few downsides: it turns all i18n rwlocks into nestable mutexes, which may be slower when there are many concurrent readers. I've also changed all i18n locks to a nestable scheme, so maybe we can be more specific.