php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55471 ZTS build broken with dtrace
Submitted: 2011-08-21 00:36 UTC Modified: 2011-08-21 12:21 UTC
From: s21122012 at yahoo dot com Assigned: pajoye
Status: Closed Package: Compile Failure
PHP Version: 5.4.0alpha3 OS: Mac OS X 10.7.1
Private report: No CVE-ID:
 [2011-08-21 00:36 UTC] s21122012 at yahoo dot com
Description:
------------
I tried compiling PHP with the configure options below and got a compilation 
error.

Test script:
---------------
../php*/configure --prefix=/alt/php --bindir=/alt/bin --enable-mod-charset --with-apxs2=/alt/apache/bin/apxs --enable-sigchild --disable-short-tags --enable-dtrace --with-libxml-dir=/alt/libxml --with-openssl=shared --with-pcre-regex=/alt/pcre --with-zlib=/alt --with-zlib-dir=/alt --enable-bcmath --with-bz2=/alt/tar --with-curl=/alt/curl --enable-exif --enable-ftp --with-png-dir=/alt/libpng --with-gmp=/alt --enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-wddx --enable-zip --with-pcre-dir=/alt/pcre --disable-cgi

Expected result:
----------------
Successful Compilation

Actual result:
--------------
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c: In function 
‘zend_throw_exception_internal’:
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:92: warning: 
passing argument 2 of ‘zend_get_object_classname’ from incompatible pointer type
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:92: error: too 
few arguments to function ‘zend_get_object_classname’
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c: In function 
‘_build_trace_args’:
/Users/Developer/Downloads/php-5.4.0alpha3/Zend/zend_exceptions.c:439: warning: 
passing argument 2 of ‘zend_get_object_classname’ from incompatible pointer type
make: *** [Zend/zend_exceptions.lo] Error 1

Patches

bug55471.diff (last revision 2011-08-21 10:17 UTC) by laruence@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-21 10:14 UTC] laruence@php.net
-Status: Open +Status: Verified
 [2011-08-21 10:14 UTC] laruence@php.net
hmm, missed a TSRMLS_CC in parameters
 [2011-08-21 10:17 UTC] laruence@php.net
The following patch has been added/updated:

Patch Name: bug55471.diff
Revision:   1313921837
URL:        https://bugs.php.net/patch-display.php?bug=55471&patch=bug55471.diff&revision=1313921837
 [2011-08-21 11:50 UTC] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=315254
Log: - Fix bug #55471, fix zts build with dtrace (Laruense)
 [2011-08-21 11:51 UTC] pajoye@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: pajoye
 [2011-08-21 11:51 UTC] pajoye@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-08-21 12:21 UTC] laruence@php.net
-Summary: zend_get_object_classname +Summary: ZTS build broken with dtrace
 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9770f6041a92a195c55a6b5d68c7c22982217c2e
Log: - Fix bug #55471, fix zts build with dtrace (Laruense)
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9770f6041a92a195c55a6b5d68c7c22982217c2e
Log: - Fix bug #55471, fix zts build with dtrace (Laruense)
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of pajoye
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9770f6041a92a195c55a6b5d68c7c22982217c2e
Log: - Fix bug #55471, fix zts build with dtrace (Laruense)
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 05:03:21 2014 UTC