From da25a5d161f44fbe3126e8ce240fae24ecfa7eb0 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 9 Sep 2021 01:07:31 -0600 Subject: [PATCH] C11 thread local in OpenBSD shared objects is buggy, so disable it. --- hints/openbsd.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 66db8e2ce1ec..dd8df2ffed87 100644 --- a/hints/openbsd.sh +++ b/hints/openbsd.sh @@ -155,4 +155,8 @@ esac # which is being fixed. In the meantime, forbid POSIX 2008 locales d_newlocale="$undef" +# Seems that OpenBSD returns bogus values in _Thread_local variables in code in +# shared objects, so we need to disable it. See GH #19109 +d_thread_local=undef + # end