php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78622 broken build on aarch64
Submitted: 2019-10-02 08:58 UTC Modified: 2019-10-02 13:03 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: remi@php.net Assigned: nikic (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.4.0RC2 OS: Fedora 32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2019-10-02 08:58 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-02 13:03 UTC] remi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2019-10-02 13:03 UTC] remi@php.net
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
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 08:00:02 2026 UTC