filed bug : https://bugs.php.net/bug.php?id=73777
So now I find this page .. only one page for the memory management of
all of PHP? here :
http://php.net/manual/en/internals2.memory.management.php
So I will try a debug build with -DUSE_ZEND_ALLOC=0 and see what
happens. Won't be very useful, no idea why good old malloc or calloc
from the libC won't suffice here but anyways :
$ ./configure --disable-all \
--with-apxs2=/usr/local/bin/apxs --sysconfdir=/usr/local/etc
--includedir=/usr/local/include
--libdir=/usr/local/lib --libexecdir=/usr/local/libexec
--localstatedir=/usr/local/var/php --mandir=/usr/local/share/man
--infodir=/usr/local/share
--enable-debug
--cache-file=../php-7.0.14_SunOS5.10_sparcv9.003.cache
So this results in a clean configure again with :
Configuring Zend
checking whether to enable Zend debugging... yes
This may or may not help at all but my other option is to search the
entire code base for the use of _emalloc and re-name it to something
like extra_malloc or similar and see what happens.
No idea here why a world class compiler like the Oracle Studio 12.5 C
compiler can not compile 7.0.14 but I will keep on pushing along here.
Any useful thoughts would be useful.
Dennis