Bug #73898 [Csd]: arm64 build failure
| From: | kyle dot fazzari at canonical dot com | Date: | Wed, 11 Jan 2017 17:39:17 +0000 |
| Subject: | Bug #73898 [Csd]: arm64 build failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206535@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73898&edit=1
ID: 73898
User updated by: kyle dot fazzari at canonical dot com
Reported by: kyle dot fazzari at canonical dot com
Summary: arm64 build failure
Status: Closed
Type: Bug
Package: opcache
Operating System: Ubuntu
PHP Version: 7.1.0
Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
I can confirm that master builds on arm64, thank you. Note that this bug also applies to 7.0.14,
which means this build failure is standing in the way of some security updates (the latest one that
works is 7.0.12). Can we get a patch release of either 7.0 or 7.1 with this update?
Previous Comments:
------------------------------------------------------------------------
[2017-01-11 04:49:48] krakjoe@php.net
The fix for this bug has been committed.
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.
https://github.com/php/php-src/commit/8c8679207ae5ada8751288e75b78c928a4d34d1d
------------------------------------------------------------------------
[2017-01-09 18:04:04] kyle dot fazzari at canonical dot com
Description:
------------
PHP 7.1's opcache doesn't seem to build on arm64. Just using a simple
./configure
&& make.
Expected result:
----------------
A successful build.
Actual result:
--------------
$ make
/bin/bash /home/kyrofa/php-7.1.0/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/home/kyrofa/php-7.1.0/ext/opcache/
-DPHP_ATOM_INC -I/home/kyrofa/php-7.1.0/include -I/home/kyrofa/php-7.1.0/main
-I/home/kyrofa/php-7.1.0 -I/home/kyrofa/php-7.1.0/ext/date/lib -I/usr/include/libxml2
-I/home/kyrofa/php-7.1.0/ext/sqlite3/libsqlite -I/home/kyrofa/php-7.1.0/TSRM
-I/home/kyrofa/php-7.1.0/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c
/home/kyrofa/php-7.1.0/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
/bin/bash /home/kyrofa/php-7.1.0/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/home/kyrofa/php-7.1.0/ext/opcache/
-DPHP_ATOM_INC -I/home/kyrofa/php-7.1.0/include -I/home/kyrofa/php-7.1.0/main
-I/home/kyrofa/php-7.1.0 -I/home/kyrofa/php-7.1.0/ext/date/lib -I/usr/include/libxml2
-I/home/kyrofa/php-7.1.0/ext/sqlite3/libsqlite -I/home/kyrofa/php-7.1.0/TSRM
-I/home/kyrofa/php-7.1.0/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c
/home/kyrofa/php-7.1.0/ext/opcache/zend_accelerator_blacklist.c -o
ext/opcache/zend_accelerator_blacklist.lo
/bin/bash /home/kyrofa/php-7.1.0/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/home/kyrofa/php-7.1.0/ext/opcache/
-DPHP_ATOM_INC -I/home/kyrofa/php-7.1.0/include -I/home/kyrofa/php-7.1.0/main
-I/home/kyrofa/php-7.1.0 -I/home/kyrofa/php-7.1.0/ext/date/lib -I/usr/include/libxml2
-I/home/kyrofa/php-7.1.0/ext/sqlite3/libsqlite -I/home/kyrofa/php-7.1.0/TSRM
-I/home/kyrofa/php-7.1.0/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c
/home/kyrofa/php-7.1.0/ext/opcache/zend_accelerator_debug.c -o ext/opcache/zend_accelerator_debug.lo
/bin/bash /home/kyrofa/php-7.1.0/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/home/kyrofa/php-7.1.0/ext/opcache/
-DPHP_ATOM_INC -I/home/kyrofa/php-7.1.0/include -I/home/kyrofa/php-7.1.0/main
-I/home/kyrofa/php-7.1.0 -I/home/kyrofa/php-7.1.0/ext/date/lib -I/usr/include/libxml2
-I/home/kyrofa/php-7.1.0/ext/sqlite3/libsqlite -I/home/kyrofa/php-7.1.0/TSRM
-I/home/kyrofa/php-7.1.0/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c
/home/kyrofa/php-7.1.0/ext/opcache/zend_accelerator_hash.c -o ext/opcache/zend_accelerator_hash.lo
/bin/bash /home/kyrofa/php-7.1.0/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/home/kyrofa/php-7.1.0/ext/opcache/
-DPHP_ATOM_INC -I/home/kyrofa/php-7.1.0/include -I/home/kyrofa/php-7.1.0/main
-I/home/kyrofa/php-7.1.0 -I/home/kyrofa/php-7.1.0/ext/date/lib -I/usr/include/libxml2
-I/home/kyrofa/php-7.1.0/ext/sqlite3/libsqlite -I/home/kyrofa/php-7.1.0/TSRM
-I/home/kyrofa/php-7.1.0/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c
/home/kyrofa/php-7.1.0/ext/opcache/zend_accelerator_module.c -o
ext/opcache/zend_accelerator_module.lo
/tmp/cc9RGrKE.s: Assembler messages:
/tmp/cc9RGrKE.s:946: Error: operand 3 should be an integer register -- `mul x1,x1,1048576'
/tmp/cc9RGrKE.s:947: Error: operand 3 should be an integer register -- `smulh x0,x1,1048576'
Makefile:815: recipe for target 'ext/opcache/zend_accelerator_module.lo' failed
make: *** [ext/opcache/zend_accelerator_module.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73898&edit=1