summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-09 01:07:31 -0600
committerJames E Keenan <jkeenan@cpan.org>2021-09-09 15:24:11 +0000
commit1e0e4aa9919de12bf24246304510aef0e865bd0e (patch)
tree1f061802705855417b46ade3b2357772d6a080fd
parent7b6e25e427217d8a3b03cf4c6718be36a0fc221d (diff)
downloadperl-1e0e4aa9919de12bf24246304510aef0e865bd0e.tar.gz
C11 thread local in OpenBSD shared objects is buggy, so disable it.
Issue: https://github.com/Perl/perl5/issues/19109 Pull request: https://github.com/Perl/perl5/pull/19110
-rw-r--r--hints/openbsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 66db8e2ce1..dd8df2ffed 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