|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-07-13 07:11 UTC] laruence@php.net
[2015-07-13 07:11 UTC] laruence@php.net
-Status: Open
+Status: Closed
[2015-07-21 14:21 UTC] ab@php.net
[2015-07-26 19:10 UTC] php-bugs-2015 at ryandesign dot com
[2016-07-20 11:37 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Description: ------------ Hi, I'm the maintainer of PHP in the MacPorts package management system. On a 64-bit Mac running OS X 10.10.4, with PHP 7.0.0beta1 compiled universal (for both x86_64 and i386), the opcache extension builds fine for x86_64 alone but not for i386 alone, nor universal (for x86_64 and i386 together). The error is: php-7.0.0beta1/ext/opcache/zend_accelerator_util_funcs.c:160:36: error: too few arguments provided to function-like macro invocation ptr = accel_xlat_get(Z_REF_P(src)); ^ This is a regression as compared to PHP 5.6.11 and 5.5.27 where the opcache extension builds successfully for both x86_64 and i386 on the same system. The compiler being used here is: $ clang -v Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix In case it is relevant, we package each bundled PHP extension, including opcache, as a separately-installable unit. To do this, we build each extension separately, using phpize, configure, make and make install.