diff options
author | Karl Williamson <khw@cpan.org> | 2023-05-11 06:39:44 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-05-16 05:53:40 -0600 |
commit | 60d7b0c35a9ad56344c7ba986620633d78bdba6c (patch) | |
tree | df9c6758028dd709b48600d833dc3a6234e34380 | |
parent | 77675bdca5b40e65b9ea687bb7fcf87b82106502 (diff) | |
download | perl-60d7b0c35a9ad56344c7ba986620633d78bdba6c.tar.gz |
hints/darwin.sh: Turn off POSIX 2008 locales
This is failing on smokes:
http://nntp.perl.org/group/perl.perl5.porters/266341
What I've noticed in working with changes to the locale handling code
(that isn't ready for v5.38) is that querylocale() has intermittent
failures, that aren't fully solved by using a mutex, and that versions
of Darwin earlier than major 20 have other problems with the POSIX 2008
API. These may be solved in Darwin 20 after disabling querylocale(),
but the failure rate was so infrequent that I'm unsure if it has been
fixed or just hasn't come up. So it is safest to just disable POSIX
2008 in Darwin for 5.38.
-rw-r--r-- | hints/darwin.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index 97a3ec59a9..72bdfb6a13 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -357,6 +357,9 @@ EOM esac fi + # The OS is buggy with respect to this. + ccflags="$ccflags -DNO_POSIX_2008_LOCALE" + lddlflags="${ldflags} -bundle -undefined dynamic_lookup" ;; esac |