Bug #71041 [Opn]: zend_signal_startup() needs ZEND_API
| From: | rainer dot jung at kippdata dot de | Date: | Sun, 06 Dec 2015 10:02:38 +0000 |
| Subject: | Bug #71041 [Opn]: zend_signal_startup() needs ZEND_API | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197629@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71041&edit=1
ID: 71041
User updated by: rainer dot jung at kippdata dot de
Reported by: rainer dot jung at kippdata dot de
Summary: zend_signal_startup() needs ZEND_API
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Linux and Solaris
PHP Version: 7.0.0
Block user comment: N
Private report: N
New Comment:
I should add I'm using the configure flag --enable-zend-signals to enable zend signals.
Previous Comments:
------------------------------------------------------------------------
[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