diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-08-08 17:52:30 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-08-10 08:35:14 -0400 |
commit | 07b15f7c4ec3ee64f9847f9766b8431140e4bb4c (patch) | |
tree | 4ca3d6504175707d1bd3a993828fb7f79a5cc6df | |
parent | 7029c034081ee56d907a835ba9e4a94c935c7b1b (diff) | |
download | perl-07b15f7c4ec3ee64f9847f9766b8431140e4bb4c.tar.gz |
hints comments tweak.
-rw-r--r-- | hints/darwin.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index fec05fd26c..81cdcff615 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -301,6 +301,11 @@ case "$usemymalloc" in esac # However sbrk() returns -1 (failure) somewhere in lib/unicore/mktables at # around 14M, so we need to use system malloc() as our sbrk() +# +# sbrk() in Darwin deprecated since Mavericks (10.9), it still exists +# in Yosemite (10.10) but that is just an emulation, and fails for +# allocations beyond 4MB. One should use e.g. mmap instead (or system +# malloc, as suggested above, that but is kind of backward). malloc_cflags='ccflags="-DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC $ccflags"' # Locales aren't feeling well. |