Bug #70058 [NEW]: Build fails when building for i386
| From: | php-bugs-2015 at ryandesign dot com | Date: | Mon, 13 Jul 2015 03:02:53 +0000 |
| Subject: | Bug #70058 [NEW]: Build fails when building for i386 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-194370@lists.php.net to get a copy of this message | ||
From: php-bugs-2015 at ryandesign dot com
Operating system: OS X 10.10.4
PHP version: 7.0.0beta1
Package: opcache
Bug Type: Bug
Bug description:Build fails when building for i386
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 bug report at https://bugs.php.net/bug.php?id=70058&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70058&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70058&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70058&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70058&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70058&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70058&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70058&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70058&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70058&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70058&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70058&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70058&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70058&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70058&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70058&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70058&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70058&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70058&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70058&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70058&r=mysqlcfg