https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51906
--- Comment #57 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:a044c9d25972b22c6b4c8ec27f2de5fd622573cc commit r13-4482-ga044c9d25972b22c6b4c8ec27f2de5fd622573cc Author: Iain Sandoe <i...@sandoe.co.uk> Date: Sat Dec 3 17:09:35 2022 +0000 libstdc++, Darwin: Limit recursive mutex init to OS versions needing it. The problem described in pr 51906 was fixed in the next OS release. Limit the workaround to systems that need it. Signed-off-by: Iain Sandoe <i...@sandoe.co.uk> libstdc++-v3/ChangeLog: * config/os/bsd/darwin/os_defines.h (_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC): Limit use of this macro to OS versions that need it.