Bug #78622 [NEW]: broken build on aarch64
| From: | remi@php.net | Date: | Wed, 02 Oct 2019 08:58:19 +0000 |
| Subject: | Bug #78622 [NEW]: broken build on aarch64 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222985@lists.php.net to get a copy of this message | ||
From: remi
Operating system: Fedora 32
PHP version: 7.4.0RC2
Package: Compile Failure
Bug Type: Bug
Bug description:broken build on aarch64
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 bug report at https://bugs.php.net/bug.php?id=78622&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78622&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78622&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78622&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78622&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78622&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78622&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78622&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78622&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78622&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78622&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78622&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78622&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78622&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78622&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78622&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78622&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78622&r=mysqlcfg