虚無庵

徒然なるままに

今日の php build 2024-03-02

ビルド環境は以下の通り。

master

PHP         : /home/jinroq/dev/php/php-src/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 8.4.0-dev
ZEND_VERSION: 4.4.0-dev
PHP_OS      : Linux - Linux jinroq-lenovo 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 x86_64
INI actual  : /home/jinroq/dev/php/php-src/tmp-php.ini
More .INIs  :  

8.3

PHP         : /home/jinroq/dev/php/php-src-8_3/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 8.3.5-dev
ZEND_VERSION: 4.3.5-dev
PHP_OS      : Linux - Linux jinroq-lenovo 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 x86_64
INI actual  : /home/jinroq/dev/php/php-src-8_3/tmp-php.ini
More .INIs  :  

8.2

PHP         : /home/jinroq/dev/php/php-src-8_2/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 8.2.18-dev
ZEND_VERSION: 4.2.18-dev
PHP_OS      : Linux - Linux jinroq-lenovo 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 x86_64
INI actual  : /home/jinroq/dev/php/php-src-8_2/tmp-php.ini
More .INIs  :  

Ubuntu 24.04 LTS にしちゃってるから色々と怪しいは怪しい。

今日のビルド(master)

make -j4 を実行。

ffc6f192a8f475dfdff942bb22f509d1eefd0847 までを pull ってきてビルド。エラー/警告ともになし。

今日のテスト(master)

make TEST_PHP_ARGS=-j4 test を実行。

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    43 (bz2, soap, pgsql, mbstring, curl, odbc, com_dotnet, enchant, sysvsem, sysvshm, pdo_dblib, mysqli, ffi, exif, shmop, calendar, intl, zlib, pdo_pgsql, gmp, sodium, snmp, dl_test, pdo_firebird, bcmath, readline, gd, sockets, pdo_mysql, zend_test, ldap, zip, pcntl, xsl, mysqlnd, sysvmsg, dba, skeleton, tidy, openssl, ftp, gettext, pdo_odbc)
Exts tested     :    26
---------------------------------------------------------------------

Number of tests : 18633             13247
Tests skipped   :  5386 ( 28.9%) --------
Tests warned    :     0 (  0.0%) (  0.0%)
Tests failed    :     3 (  0.0%) (  0.0%)
Expected fail   :     9 (  0.0%) (  0.1%)
Tests passed    : 13235 ( 71.0%) ( 99.9%)
---------------------------------------------------------------------
Time taken      : 119.573 seconds
=====================================================================

今日のビルド(PHP-8.3)

make -j4 を実行。

dfd37c7175594144bbee4d8cc8fff21f54d1509a までを pull ってきてビルド。

/home/jinroq/dev/php/php-src-8_3/ext/pcre/pcre2lib/pcre2_compile.c: In function ‘compile_regex’:
/home/jinroq/dev/php/php-src-8_3/ext/pcre/pcre2lib/pcre2_compile.c:8169:17: warning: storing the address of local variable ‘capitem’ in ‘*cb.open_caps’ [-Wdangling-pointer=]
 8169 |   cb->open_caps = &capitem;
      |   ~~~~~~~~~~~~~~^~~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/pcre/pcre2lib/pcre2_compile.c:8106:14: note: ‘capitem’ declared here
 8106 | open_capitem capitem;
      |              ^~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/pcre/pcre2lib/pcre2_compile.c:8100:39: note: ‘cb’ declared here
 8100 |   branch_chain *bcptr, compile_block *cb, PCRE2_SIZE *lengthptr)
In file included from /home/jinroq/dev/php/php-src-8_3/Zend/zend.h:27,
                 from /home/jinroq/dev/php/php-src-8_3/main/php.h:31,
                 from /home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c:23:
/home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c: In function ‘sxe_get_prop_hash’:
/home/jinroq/dev/php/php-src-8_3/Zend/zend_types.h:1393:34: warning: ‘iter_data.u1.type_info’ may be used uninitialized [-Wmaybe-uninitialized]
 1393 |                 Z_TYPE_INFO_P(z) = t;                                                   \
      |                                  ^
/home/jinroq/dev/php/php-src-8_3/Zend/zend_types.h:1405:17: note: in expansion of macro ‘ZVAL_COPY_VALUE_EX’
 1405 |                 ZVAL_COPY_VALUE_EX(_z1, _z2, _gc, _t);                  \
      |                 ^~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c:1193:17: note: in expansion of macro ‘ZVAL_COPY_VALUE’
 1193 |                 ZVAL_COPY_VALUE(&sxe->iter.data, &iter_data);
      |                 ^~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c:1076:26: note: ‘iter_data.u1.type_info’ was declared here
 1076 |         zval             iter_data;
      |                          ^~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/Zend/zend_types.h:1392:32: warning: ‘iter_data.value.counted’ may be used uninitialized [-Wmaybe-uninitialized]
 1392 |                 Z_COUNTED_P(z) = gc;                                                    \
      |                                ^
/home/jinroq/dev/php/php-src-8_3/Zend/zend_types.h:1405:17: note: in expansion of macro ‘ZVAL_COPY_VALUE_EX’
 1405 |                 ZVAL_COPY_VALUE_EX(_z1, _z2, _gc, _t);                  \
      |                 ^~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c:1193:17: note: in expansion of macro ‘ZVAL_COPY_VALUE’
 1193 |                 ZVAL_COPY_VALUE(&sxe->iter.data, &iter_data);
      |                 ^~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_3/ext/simplexml/simplexml.c:1076:26: note: ‘iter_data.value.counted’ was declared here
 1076 |         zval             iter_data;
      |                          ^~~~~~~~~

今日のテスト(PHP-8.3)

make TEST_PHP_ARGS=-j4 test を実行。

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    47 (bz2, oci8, soap, pspell, pgsql, mbstring, curl, odbc, com_dotnet, enchant, sysvsem, sysvshm, pdo_dblib, mysqli, ffi, exif, shmop, calendar, intl, zlib, pdo_pgsql, gmp, sodium, snmp, dl_test, imap, pdo_firebird, bcmath, readline, gd, sockets, pdo_mysql, zend_test, pdo_oci, ldap, zip, pcntl, xsl, mysqlnd, sysvmsg, dba, skeleton, tidy, openssl, ftp, gettext, pdo_odbc)
Exts tested     :    26
---------------------------------------------------------------------

Number of tests : 18755             12990
Tests skipped   :  5765 ( 30.7%) --------
Tests warned    :     0 (  0.0%) (  0.0%)
Tests failed    :     3 (  0.0%) (  0.0%)
Expected fail   :     9 (  0.0%) (  0.1%)
Tests passed    : 12978 ( 69.2%) ( 99.9%)
---------------------------------------------------------------------
Time taken      :    94 seconds
=====================================================================

今日のビルド(PHP-8.2)

make -j4 を実行。

7c8a3e426e61072dac54bc8584f22f1ee37b8b00 までを pull ってきてビルド。

/home/jinroq/dev/php/php-src-8_2/ext/pcre/pcre2lib/pcre2_compile.c: In function ‘compile_regex’:
/home/jinroq/dev/php/php-src-8_2/ext/pcre/pcre2lib/pcre2_compile.c:8167:17: warning: storing the address of local variable ‘capitem’ in ‘*cb.open_caps’ [-Wdangling-pointer=]
 8167 |   cb->open_caps = &capitem;
      |   ~~~~~~~~~~~~~~^~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/pcre/pcre2lib/pcre2_compile.c:8104:14: note: ‘capitem’ declared here
 8104 | open_capitem capitem;
      |              ^~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/pcre/pcre2lib/pcre2_compile.c:8098:39: note: ‘cb’ declared here
 8098 |   branch_chain *bcptr, compile_block *cb, PCRE2_SIZE *lengthptr)
/home/jinroq/dev/php/php-src-8_2/ext/json/json_encoder.c:318:13: warning: conflicting types for ‘php_json_escape_string’ due to enum/integer mismatch; have ‘zend_result(smart_str *, const char *, size_t,  int,  php_json_encoder *)’ {aka ‘ZEND_RESULT_CODE(smart_str *, const char *, long unsigned int,  int,  struct _php_json_encoder *)’} [-Wenum-int-mismatch]
  318 | zend_result php_json_escape_string(
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/ext/json/json_encoder.c:28:
/home/jinroq/dev/php/php-src-8_2/ext/json/php_json_encoder.h:38:5: note: previous declaration of ‘php_json_escape_string’ with type ‘int(smart_str *, const char *, size_t,  int,  php_json_encoder *)’ {aka ‘int(smart_str *, const char *, long unsigned int,  int,  struct _php_json_encoder *)’}
   38 | int php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder);
      |     ^~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:1298:20: warning: conflicting types for ‘php_session_send_cookie’ due to enum/integer mismatch; have ‘zend_result(void)’ {aka ‘ZEND_RESULT_CODE(void)’} [-Wenum-int-mismatch]
 1298 | static zend_result php_session_send_cookie(void) /* {{{ */
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:100:12: note: previous declaration of ‘php_session_send_cookie’ with type ‘int(void)’
  100 | static int php_session_send_cookie(void);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:1617:20: warning: conflicting types for ‘php_session_abort’ due to enum/integer mismatch; have ‘zend_result(void)’ {aka ‘ZEND_RESULT_CODE(void)’} [-Wenum-int-mismatch]
 1617 | static zend_result php_session_abort(void) /* {{{ */
      |                    ^~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:101:12: note: previous declaration of ‘php_session_abort’ with type ‘int(void)’
  101 | static int php_session_abort(void);
      |            ^~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:2994:20: warning: conflicting types for ‘php_session_rfc1867_callback’ due to enum/integer mismatch; have ‘zend_result(unsigned int,  void *, void **)’ {aka ‘ZEND_RESULT_CODE(unsigned int,  void *, void **)’} [-Wenum-int-mismatch]
 2994 | static zend_result php_session_rfc1867_callback(unsigned int event, void *event_data, void **extra) /* {{{ */
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/session/session.c:59:12: note: previous declaration of ‘php_session_rfc1867_callback’ with type ‘int(unsigned int,  void *, void **)’
   59 | static int php_session_rfc1867_callback(unsigned int event, void *event_data, void **extra);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend.h:27,
                 from /home/jinroq/dev/php/php-src-8_2/main/php.h:31,
                 from /home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c:23:
/home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c: In function ‘sxe_get_prop_hash’:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_types.h:1279:34: warning: ‘iter_data.u1.type_info’ may be used uninitialized [-Wmaybe-uninitialized]
 1279 |                 Z_TYPE_INFO_P(z) = t;                                                   \
      |                                  ^
/home/jinroq/dev/php/php-src-8_2/Zend/zend_types.h:1291:17: note: in expansion of macro ‘ZVAL_COPY_VALUE_EX’
 1291 |                 ZVAL_COPY_VALUE_EX(_z1, _z2, _gc, _t);                  \
      |                 ^~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c:1202:17: note: in expansion of macro ‘ZVAL_COPY_VALUE’
 1202 |                 ZVAL_COPY_VALUE(&sxe->iter.data, &iter_data);
      |                 ^~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c:1085:26: note: ‘iter_data.u1.type_info’ was declared here
 1085 |         zval             iter_data;
      |                          ^~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_types.h:1278:32: warning: ‘iter_data.value.counted’ may be used uninitialized [-Wmaybe-uninitialized]
 1278 |                 Z_COUNTED_P(z) = gc;                                                    \
      |                                ^
/home/jinroq/dev/php/php-src-8_2/Zend/zend_types.h:1291:17: note: in expansion of macro ‘ZVAL_COPY_VALUE_EX’
 1291 |                 ZVAL_COPY_VALUE_EX(_z1, _z2, _gc, _t);                  \
      |                 ^~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c:1202:17: note: in expansion of macro ‘ZVAL_COPY_VALUE’
 1202 |                 ZVAL_COPY_VALUE(&sxe->iter.data, &iter_data);
      |                 ^~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/ext/simplexml/simplexml.c:1085:26: note: ‘iter_data.value.counted’ was declared here
 1085 |         zval             iter_data;
      |                          ^~~~~~~~~
Zend/zend_language_scanner.l:525:22: warning: conflicting types for ‘open_file_for_scanning’ due to enum/integer mismatch; have ‘zend_result(zend_file_handle *)’ {aka ‘ZEND_RESULT_CODE(struct _zend_file_handle *)’} [-Wenum-int-mismatch]
  525 | ZEND_API zend_result open_file_for_scanning(zend_file_handle *file_handle)
      |                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_language_parser.y:42,
                 from Zend/zend_language_scanner.l:38:
Zend/zend_compile.h:838:14: note: previous declaration of ‘open_file_for_scanning’ with type ‘int(zend_file_handle *)’ {aka ‘int(struct _zend_file_handle *)’}
  838 | ZEND_API int open_file_for_scanning(zend_file_handle *file_handle);
      |              ^~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_ini_parser.y:215:22: warning: conflicting types for ‘zend_parse_ini_file’ due to enum/integer mismatch; have ‘zend_result(zend_file_handle *, _Bool,  int,  void (*)(zval *, zval *, zval *, int,  void *), void *)’ {aka ‘ZEND_RESULT_CODE(struct _zend_file_handle *, _Bool,  int,  void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, int,  void *), void *)’} [-Wenum-int-mismatch]
  215 | ZEND_API zend_result zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg)
      |                      ^~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_ini_parser.y:26:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_ini.h:235:14: note: previous declaration of ‘zend_parse_ini_file’ with type ‘int(zend_file_handle *, _Bool,  int,  void (*)(zval *, zval *, zval *, int,  void *), void *)’ {aka ‘int(struct _zend_file_handle *, _Bool,  int,  void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, int,  void *), void *)’}
  235 | ZEND_API int zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg);
      |              ^~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_ini_parser.y:242:22: warning: conflicting types for ‘zend_parse_ini_string’ due to enum/integer mismatch; have ‘zend_result(char *, _Bool,  int,  void (*)(zval *, zval *, zval *, int,  void *), void *)’ {aka ‘ZEND_RESULT_CODE(char *, _Bool,  int,  void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, int,  void *), void *)’} [-Wenum-int-mismatch]
  242 | ZEND_API zend_result zend_parse_ini_string(char *str, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg)
      |                      ^~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_ini.h:236:14: note: previous declaration of ‘zend_parse_ini_string’ with type ‘int(char *, _Bool,  int,  void (*)(zval *, zval *, zval *, int,  void *), void *)’ {aka ‘int(char *, _Bool,  int,  void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, int,  void *), void *)’}
  236 | ZEND_API int zend_parse_ini_string(char *str, bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg);
      |              ^~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend.c:1816:22: warning: conflicting types for ‘zend_execute_scripts’ due to enum/integer mismatch; have ‘zend_result(int,  zval *, int, ...)’ {aka ‘ZEND_RESULT_CODE(int,  struct _zval_struct *, int, ...)’} [-Wenum-int-mismatch]
 1816 | ZEND_API zend_result zend_execute_scripts(int type, zval *retval, int file_count, ...) /* {{{ */
      |                      ^~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_extensions.h:23,
                 from /home/jinroq/dev/php/php-src-8_2/Zend/zend.c:21:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_compile.h:837:14: note: previous declaration of ‘zend_execute_scripts’ with type ‘int(int,  zval *, int, ...)’ {aka ‘int(int,  struct _zval_struct *, int, ...)’}
  837 | ZEND_API int zend_execute_scripts(int type, zval *retval, int file_count, ...);
      |              ^~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2991:22: warning: conflicting types for ‘zend_get_module_started’ due to enum/integer mismatch; have ‘zend_result(const char *)’ {aka ‘ZEND_RESULT_CODE(const char *)’} [-Wenum-int-mismatch]
 2991 | ZEND_API zend_result zend_get_module_started(const char *module_name) /* {{{ */
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:24:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.h:414:14: note: previous declaration of ‘zend_get_module_started’ with type ‘int(const char *)’
  414 | ZEND_API int zend_get_module_started(const char *module_name);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c: In function ‘zend_register_functions’:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2836:49: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2836 |                 uint32_t num_args = reg_function->common.num_args;
      |                                                 ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2837:33: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2837 |                 if (reg_function->common.fn_flags & ZEND_ACC_VARIADIC) {
      |                                 ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2842:33: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2842 |                 if (reg_function->common.arg_info && num_args) {
      |                                 ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2848:49: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2848 |                                     reg_function->common.fn_flags |= ZEND_ACC_HAS_TYPE_HINTS;
      |                                                 ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2848:49: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2848 |                                     reg_function->common.fn_flags |= ZEND_ACC_HAS_TYPE_HINTS;
      |                                                 ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2864:34: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2864 |                     (reg_function->common.fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS))) {
      |                                  ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2874:37: warning: array subscript ‘zend_function {aka union _zend_function}[0]’ is partly outside array bounds of ‘unsigned char[136]’ [-Warray-bounds=]
 2874 |                         reg_function->common.arg_info = new_arg_info + 1;
      |                                     ^~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_API.c:2826:32: note: object of size 136 allocated by ‘malloc’
 2826 |                 reg_function = malloc(sizeof(zend_internal_function));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_list.c:46:36: warning: conflicting types for ‘zend_list_delete’ due to enum/integer mismatch; have ‘zend_result(zend_resource *)’ {aka ‘ZEND_RESULT_CODE(struct _zend_resource *)’} [-Wenum-int-mismatch]
   46 | ZEND_API zend_result ZEND_FASTCALL zend_list_delete(zend_resource *res)
      |                                    ^~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_list.c:23:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_list.h:57:28: note: previous declaration of ‘zend_list_delete’ with type ‘int(zend_resource *)’ {aka ‘int(struct _zend_resource *)’}
   57 | ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
      |                            ^~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_execute.c:5027:36: warning: conflicting types for ‘zend_handle_undef_args’ due to enum/integer mismatch; have ‘zend_result(zend_execute_data *)’ {aka ‘ZEND_RESULT_CODE(struct _zend_execute_data *)’} [-Wenum-int-mismatch]
 5027 | ZEND_API zend_result ZEND_FASTCALL zend_handle_undef_args(zend_execute_data *call) {
      |                                    ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_execute.c:28:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_execute.h:391:28: note: previous declaration of ‘zend_handle_undef_args’ with type ‘int(zend_execute_data *)’ {aka ‘int(struct _zend_execute_data *)’}
  391 | ZEND_API int ZEND_FASTCALL zend_handle_undef_args(zend_execute_data *call);
      |                            ^~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_execute.c:5338:22: warning: conflicting types for ‘zend_set_user_opcode_handler’ due to enum/integer mismatch; have ‘zend_result(zend_uchar,  int (*)(zend_execute_data *))’ {aka ‘ZEND_RESULT_CODE(unsigned char,  int (*)(struct _zend_execute_data *))’} [-Wenum-int-mismatch]
 5338 | ZEND_API zend_result zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler)
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_execute.h:376:14: note: previous declaration of ‘zend_set_user_opcode_handler’ with type ‘int(zend_uchar,  int (*)(zend_execute_data *))’ {aka ‘int(unsigned char,  int (*)(struct _zend_execute_data *))’}
  376 | ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_multibyte.c:158:22: warning: conflicting types for ‘zend_multibyte_parse_encoding_list’ due to enum/integer mismatch; have ‘zend_result(const char *, size_t,  const zend_encoding ***, size_t *, _Bool)’ {aka ‘ZEND_RESULT_CODE(const char *, long unsigned int,  const struct _zend_encoding ***, long unsigned int *, _Bool)’} [-Wenum-int-mismatch]
  158 | ZEND_API zend_result zend_multibyte_parse_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent)
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_globals.h:38,
                 from /home/jinroq/dev/php/php-src-8_2/Zend/zend_compile.h:761,
                 from /home/jinroq/dev/php/php-src-8_2/Zend/zend_multibyte.c:21:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_multibyte.h:69:14: note: previous declaration of ‘zend_multibyte_parse_encoding_list’ with type ‘int(const char *, size_t,  const zend_encoding ***, size_t *, _Bool)’ {aka ‘int(const char *, long unsigned int,  const struct _zend_encoding ***, long unsigned int *, _Bool)’}
   69 | ZEND_API int zend_multibyte_parse_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_multibyte.c:183:22: warning: conflicting types for ‘zend_multibyte_set_internal_encoding’ due to enum/integer mismatch; have ‘zend_result(const zend_encoding *)’ {aka ‘ZEND_RESULT_CODE(const struct _zend_encoding *)’} [-Wenum-int-mismatch]
  183 | ZEND_API zend_result zend_multibyte_set_internal_encoding(const zend_encoding *encoding)
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_multibyte.h:74:14: note: previous declaration of ‘zend_multibyte_set_internal_encoding’ with type ‘int(const zend_encoding *)’ {aka ‘int(const struct _zend_encoding *)’}
   74 | ZEND_API int zend_multibyte_set_internal_encoding(const zend_encoding *encoding);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_interfaces.c:121:14: warning: conflicting types for ‘zend_user_it_valid’ due to enum/integer mismatch; have ‘int(zend_object_iterator *)’ {aka ‘int(struct _zend_object_iterator *)’} [-Wenum-int-mismatch]
  121 | ZEND_API int zend_user_it_valid(zend_object_iterator *_iter)
      |              ^~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_interfaces.c:21:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_interfaces.h:62:22: note: previous declaration of ‘zend_user_it_valid’ with type ‘zend_result(zend_object_iterator *)’ {aka ‘ZEND_RESULT_CODE(struct _zend_object_iterator *)’}
   62 | ZEND_API zend_result zend_user_it_valid(zend_object_iterator *_iter);
      |                      ^~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_signal.c:289:20: warning: conflicting types for ‘zend_signal_register’ due to enum/integer mismatch; have ‘zend_result(int,  void (*)(int,  siginfo_t *, void *))’ {aka ‘ZEND_RESULT_CODE(int,  void (*)(int,  siginfo_t *, void *))’} [-Wenum-int-mismatch]
  289 | static zend_result zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*))
      |                    ^~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_signal.c:65:12: note: previous declaration of ‘zend_signal_register’ with type ‘int(int,  void (*)(int,  siginfo_t *, void *))’
   65 | static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*));
      |            ^~~~~~~~~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/zend_virtual_cwd.c:1202:21: warning: conflicting types for ‘virtual_chdir’ due to enum/integer mismatch; have ‘zend_result(const char *)’ {aka ‘ZEND_RESULT_CODE(const char *)’} [-Wenum-int-mismatch]
 1202 | CWD_API zend_result virtual_chdir(const char *path) /* {{{ */
      |                     ^~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/zend_virtual_cwd.c:30:
/home/jinroq/dev/php/php-src-8_2/Zend/zend_virtual_cwd.h:163:13: note: previous declaration of ‘virtual_chdir’ with type ‘int(const char *)’
  163 | CWD_API int virtual_chdir(const char *path);
      |             ^~~~~~~~~~~~~
/home/jinroq/dev/php/php-src-8_2/Zend/Optimizer/zend_inference.c:4747:22: warning: conflicting types for ‘zend_ssa_inference’ due to enum/integer mismatch; have ‘zend_result(zend_arena **, const zend_op_array *, const zend_script *, zend_ssa *, zend_long)’ {aka ‘ZEND_RESULT_CODE(struct _zend_arena **, const struct _zend_op_array *, const struct _zend_script *, struct _zend_ssa *, long int)’} [-Wenum-int-mismatch]
 4747 | ZEND_API zend_result zend_ssa_inference(zend_arena **arena, const zend_op_array *op_array, const zend_script *script, zend_ssa *ssa, zend_long optimization_level) /* {{{ */
      |                      ^~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/Zend/Optimizer/zend_inference.c:21:
/home/jinroq/dev/php/php-src-8_2/Zend/Optimizer/zend_inference.h:220:14: note: previous declaration of ‘zend_ssa_inference’ with type ‘int(zend_arena **, const zend_op_array *, const zend_script *, zend_ssa *, zend_long)’ {aka ‘int(struct _zend_arena **, const struct _zend_op_array *, const struct _zend_script *, struct _zend_ssa *, long int)’}
  220 | ZEND_API int zend_ssa_inference(zend_arena **raena, const zend_op_array *op_array, const zend_script *script, zend_ssa *ssa, zend_long optimization_level);
      |              ^~~~~~~~~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:714:
In function ‘dasm_setupglobal’,
    inlined from ‘zend_jit_trace_allocate_exit_group’ at ext/opcache/jit/zend_jit_trace.c:95:2,
    inlined from ‘zend_jit_trace_allocate_exit_point’ at ext/opcache/jit/zend_jit_trace.c:125:11:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/dynasm/dasm_x86.h:127:19: warning: array subscript -10 is outside array bounds of ‘void *[38]’ [-Warray-bounds=]
  127 |   D->globals = gl - 10;  /* Negative bias to compensate for locals. */
      |                ~~~^~~~
In file included from /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:772:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_trace_allocate_exit_point’:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc:143:14: note: at offset -80 into object ‘dasm_labels’ of size 304
  143 | static void* dasm_labels[zend_lb_MAX];
      |              ^~~~~~~~~~~
In function ‘dasm_setupglobal’,
    inlined from ‘zend_jit’ at /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:2733:2:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/dynasm/dasm_x86.h:127:19: warning: array subscript -10 is outside array bounds of ‘void *[38]’ [-Warray-bounds=]
  127 |   D->globals = gl - 10;  /* Negative bias to compensate for locals. */
      |                ~~~^~~~
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit’:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc:143:14: note: at offset -80 into object ‘dasm_labels’ of size 304
  143 | static void* dasm_labels[zend_lb_MAX];
      |              ^~~~~~~~~~~
In function ‘dasm_setupglobal’,
    inlined from ‘zend_jit_trace’ at ext/opcache/jit/zend_jit_trace.c:4055:2:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/dynasm/dasm_x86.h:127:19: warning: array subscript -10 is outside array bounds of ‘void *[38]’ [-Warray-bounds=]
  127 |   D->globals = gl - 10;  /* Negative bias to compensate for locals. */
      |                ~~~^~~~
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_trace’:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc:143:14: note: at offset -80 into object ‘dasm_labels’ of size 304
  143 | static void* dasm_labels[zend_lb_MAX];
      |              ^~~~~~~~~~~
In file included from /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:4432:
ext/opcache/jit/zend_jit_trace.c:4299:30: warning: ‘gen_handler’ may be used uninitialized [-Wmaybe-uninitialized]
 4299 |                         bool gen_handler;
      |                              ^~~~~~~~~~~
In function ‘dasm_setupglobal’,
    inlined from ‘zend_jit_trace_exit_to_vm’ at ext/opcache/jit/zend_jit_trace.c:7098:2,
    inlined from ‘zend_jit_blacklist_trace_exit’ at ext/opcache/jit/zend_jit_trace.c:7819:14:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/dynasm/dasm_x86.h:127:19: warning: array subscript -10 is outside array bounds of ‘void *[38]’ [-Warray-bounds=]
  127 |   D->globals = gl - 10;  /* Negative bias to compensate for locals. */
      |                ~~~^~~~
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_blacklist_trace_exit’:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc:143:14: note: at offset -80 into object ‘dasm_labels’ of size 304
  143 | static void* dasm_labels[zend_lb_MAX];
      |              ^~~~~~~~~~~
In function ‘dasm_setupglobal’,
    inlined from ‘zend_jit_make_stubs’ at /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:4716:2,
    inlined from ‘zend_jit_startup’ at /home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit.c:5005:9:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/dynasm/dasm_x86.h:127:19: warning: array subscript -10 is outside array bounds of ‘void *[38]’ [-Warray-bounds=]
  127 |   D->globals = gl - 10;  /* Negative bias to compensate for locals. */
      |                ~~~^~~~
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_startup’:
/home/jinroq/dev/php/php-src-8_2/ext/opcache/jit/zend_jit_x86.dasc:143:14: note: at offset -80 into object ‘dasm_labels’ of size 304
  143 | static void* dasm_labels[zend_lb_MAX];
      |              ^~~~~~~~~~~

今日のテスト(PHP-8.2)

make TEST_PHP_ARGS=-j4 test を実行。

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   47
Exts tested     :   27
---------------------------------------------------------------------

Number of tests : 18219             12580
Tests skipped   : 5639 ( 31.0%) --------
Tests warned    :    1 (  0.0%) (  0.0%)
Tests failed    :    3 (  0.0%) (  0.0%)
Expected fail   :    9 (  0.0%) (  0.1%)
Tests passed    : 12567 ( 69.0%) ( 99.9%)
---------------------------------------------------------------------
Time taken      :   92 seconds
=====================================================================