Bug #71041 [Opn->Wfx]: zend_signal_startup() needs ZEND_API
Edit report at https://bugs.php.net/bug.php?id=71041&edit=1
ID: 71041
Updated by: krakjoe@php.net
Reported by: rainer dot jung at kippdata dot de
Summary: zend_signal_startup() needs ZEND_API
-Status: Open
+Status: Wont fix
Type: Bug
Package: Compile Failure
Operating System: Linux and Solaris
PHP Version: 7.0.0
Block user comment: N
Private report: N
New Comment:
The only place that this function should be called is in the SAPI layer, since all usable
SAPI's are distributed with PHP, there doesn't seem to be a legitimate need to export the
symbol.
Previous Comments:
------------------------------------------------------------------------
[2015-12-06 10:02:37] rainer dot jung at kippdata dot de
I should add I'm using the configure flag --enable-zend-signals to enable zend signals.
------------------------------------------------------------------------
[2015-12-06 09:35:55] rainer dot jung at kippdata dot de
Description:
------------
In commit
http://git.php.net/?p=php-src.git;a=commitdiff;h=85a511d2c1b7d7489630d7e2d1112bddd4e20203
the calls to zend_signal_startup() where moved from Zend/zend.c into the individual sapi files. IMHO
this means, that zend_signal_startup() needs to be declared and defined using ZEND_API in
Zend/zend_signal.h and Zend/zend_signal.c.
I noticed this, because I changed the PHP build to use a common shared library for the different
SAPIs. It likely is not noticed when linking all zend stuff statically into the binary sapi modules.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71041&edit=1
Thread (6 messages)