Bug #78622 [Opn->Csd]: broken build on aarch64
| From: | remi@php.net | Date: | Wed, 02 Oct 2019 13:03:42 +0000 |
| Subject: | Bug #78622 [Opn->Csd]: broken build on aarch64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222989@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78622&edit=1
ID: 78622
Updated by: remi@php.net
Reported by: remi@php.net
Summary: broken build on aarch64
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Fedora 32
PHP Version: 7.4.0RC2
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
If you are still experiencing this bug, try to check out latest source from https://github.com/php/php-src and re-test.
Thank you for the report, and for helping us make PHP better.
Fixed by http://git.php.net/?p=php-src.git;a=commitdiff;h=d81eb77b4aaf579c151f7d16eef807838fcef9cc
Previous Comments:
------------------------------------------------------------------------
[2019-10-02 08:58:19] remi@php.net
Description:
------------
Since https://github.com/php/php-src/commit/2a535a9707c
In file included from /builddir/build/BUILD/php-7.4.0RC3/main/php.h:37,
from /builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:19:
/builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c: In function 'php_if_crc32':
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1621:31: error: inlining failed in call to
always_inline 'zend_parse_arg_string': target specific option mismatch
1621 | static zend_always_inline int zend_parse_arg_string(zval *arg, char **dest, size_t
*dest_len, int check_null)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/php-7.4.0RC3/Zend/zend_types.h:25,
from /builddir/build/BUILD/php-7.4.0RC3/Zend/zend.h:27,
from /builddir/build/BUILD/php-7.4.0RC3/main/php.h:33,
from /builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:19:
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1478:19: note: called from here
1478 | if (UNEXPECTED(!zend_parse_arg_string(_arg, &dest, &dest_len, check_null))) { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_portability.h:323:52: note: in definition of macro
'UNEXPECTED'
323 | # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
| ^~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1485:2: note: in expansion of macro
'Z_PARAM_STRING_EX2'
1485 | Z_PARAM_STRING_EX2(dest, dest_len, check_null, separate, separate)
| ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1488:2: note: in expansion of macro
'Z_PARAM_STRING_EX'
1488 | Z_PARAM_STRING_EX(dest, dest_len, 0, 0)
| ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:59:3: note: in expansion of macro
'Z_PARAM_STRING'
59 | Z_PARAM_STRING(p, nr)
| ^~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/php-7.4.0RC3/main/php.h:37,
from /builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:19:
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1621:31: error: inlining failed in call to
always_inline 'zend_parse_arg_string': target specific option mismatch
1621 | static zend_always_inline int zend_parse_arg_string(zval *arg, char **dest, size_t
*dest_len, int check_null)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/php-7.4.0RC3/Zend/zend_types.h:25,
from /builddir/build/BUILD/php-7.4.0RC3/Zend/zend.h:27,
from /builddir/build/BUILD/php-7.4.0RC3/main/php.h:33,
from /builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:19:
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1478:19: note: called from here
1478 | if (UNEXPECTED(!zend_parse_arg_string(_arg, &dest, &dest_len, check_null))) { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_portability.h:323:52: note: in definition of macro
'UNEXPECTED'
323 | # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0)
| ^~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1485:2: note: in expansion of macro
'Z_PARAM_STRING_EX2'
1485 | Z_PARAM_STRING_EX2(dest, dest_len, check_null, separate, separate)
| ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/Zend/zend_API.h:1488:2: note: in expansion of macro
'Z_PARAM_STRING_EX'
1488 | Z_PARAM_STRING_EX(dest, dest_len, 0, 0)
| ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/php-7.4.0RC3/ext/standard/crc32.c:59:3: note: in expansion of macro
'Z_PARAM_STRING'
59 | Z_PARAM_STRING(p, nr)
| ^~~~~~~~~~~~~~
make: *** [Makefile:1856: ext/standard/crc32.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78622&edit=1