Bug #70058 [Opn->Csd]: Build fails when building for i386

From: Date: Mon, 13 Jul 2015 07:11:12 +0000
Subject: Bug #70058 [Opn->Csd]: Build fails when building for i386
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194374@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70058&edit=1 ID: 70058 Updated by: laruence@php.net Reported by: php-bugs-2015 at ryandesign dot com Summary: Build fails when building for i386 -Status: Open +Status: Closed Type: Bug Package: opcache Operating System: OS X 10.10.4 PHP Version: 7.0.0beta1 Block user comment: N Private report: N New Comment: Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=b8eff44b0ea6ea31aa3916c09fb9c54f4922eaf4 Log: Fixed Bug #70058 Build fails when building for i386 Previous Comments: ------------------------------------------------------------------------ [2015-07-13 03:02:52] php-bugs-2015 at ryandesign dot com 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70058&edit=1

« previous php.bugs (#194374) next »