php-src/ext
Pengfei Li f2706a8f30
JIT/AArch64: Fix an undefined symbol issue (#12687)
In AArch64 function `zend_jit_set_veneer()`, some debug code calls two
other functions `ir_disasm_find_symbol()` and `ir_disasm_add_symbol()`
defined in `ir_disasm.c`. However, `ir_disasm.c` is compiled under the
condition that capstone is available. This causes an undefined symbol
issue while loading `opcache.so` when JIT is triggered if PHP is built
without `--with-capstone`.

We find this issue on MacOS 12.5 if we build PHP with Clang 14. It does
not appear immediately when using other versions of toolchains because
of lazy binding. To reproduce this with Linux/GCC, we can disable lazy
binding by `export LD_BIND_NOW=1` before building PHP.

This fixes the issue by making the debug code conditionally compile.
2023-11-16 11:57:09 +03:00
..
bcmath BCmath extension code reformatting (#11896) 2023-08-13 16:17:36 +01:00
bz2
calendar Allow easter_date to process years after 2037 on 64bit systems (#11862) 2023-08-04 16:47:04 +01:00
com_dotnet Revert "Call cast_object handler from get_properties_for" 2023-08-07 12:58:12 +02:00
ctype Merge branch 'PHP-8.1' into PHP-8.2 2023-09-26 21:44:00 +02:00
curl [skip ci] curl: sync-constants.php regex and URL improvements (#12544) 2023-10-28 13:38:39 +01:00
date Use zend_error_noreturn for E_ERROR consistently 2023-09-14 11:44:55 +02:00
dba Remove unused DBA_CDB_MAKE constant (#12535) 2023-10-27 17:37:24 +01:00
dl_test Merge branch 'PHP-8.2' into PHP-8.3 2023-11-03 17:17:52 +00:00
dom Fix building ext/dom in directory other than src (#12671) 2023-11-14 19:23:10 +01:00
enchant
exif Merge branch 'PHP-8.2' into PHP-8.3 2023-11-15 22:00:44 +01:00
ffi zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. (#12650) 2023-11-13 12:42:45 +00:00
fileinfo zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. (#12650) 2023-11-13 12:42:45 +00:00
filter Merge branch 'PHP-8.2' into PHP-8.3 2023-09-14 11:49:44 +02:00
ftp following-up on GH-12551: removing inet_ntoa usage 2023-11-06 12:05:56 +00:00
gd Merge branch 'PHP-8.3' 2023-10-02 08:55:49 -06:00
gettext Close PHP tags in tests 2023-10-18 17:34:10 +02:00
gmp
hash Add deprecation notice when enabling mhash (#12586) 2023-11-01 16:26:27 +00:00
iconv Merge branch 'PHP-8.2' 2023-08-19 23:11:23 +01:00
imap Merge branch 'PHP-8.3' 2023-10-18 17:38:12 +02:00
intl Merge branch 'PHP-8.3' 2023-11-11 17:04:48 +01:00
json Introduce Zend guard recursion protection 2023-08-24 13:03:14 +01:00
ldap Close PHP tags in tests 2023-10-18 17:34:10 +02:00
libxml [RFC] DOM HTML5 parsing and serialization support (#12111) 2023-11-13 20:18:19 +01:00
mbstring Add fast mb_strcut implementation for UTF-16 2023-10-28 19:09:08 +02:00
mysqli Close PHP tags in tests 2023-10-18 17:34:10 +02:00
mysqlnd Remove redundant code in ext/mysqlnd build (#12384) 2023-10-09 15:23:52 +01:00
oci8 Implement diagnostic ignore macro for Clang 2023-10-18 17:37:15 +02:00
odbc [skip ci] Re-unparallelize odbc tests 2023-11-09 11:22:15 +01:00
opcache JIT/AArch64: Fix an undefined symbol issue (#12687) 2023-11-16 11:57:09 +03:00
openssl Merge branch 'PHP-8.2' into PHP-8.3 2023-10-22 13:23:10 +01:00
pcntl Refactor pcntl_sigprocmask()/pcntl_sigwaitinfo()/pcntl_sigtimedwait() (#11860) 2023-11-16 00:40:18 +00:00
pcre Merge branch 'PHP-8.3' 2023-11-10 00:13:15 +01:00
pdo PDO: Clean-up tests so it's easier to see if they use default test table (#12552) 2023-10-29 23:13:30 +00:00
pdo_dblib Remove check for dnet_addr in dnet_stub library (#12611) 2023-11-06 12:46:04 +00:00
pdo_firebird PDO: Clean-up tests so it's easier to see if they use default test table (#12552) 2023-10-29 23:13:30 +00:00
pdo_mysql Attempt to fix pdo_mysql conflict on CircleCI (#12563) 2023-10-30 16:19:27 +01:00
pdo_oci Parallelize pdo tests (dblib, firebird, oci, odbc, pgsql) (#12395) 2023-10-28 12:35:57 +01:00
pdo_odbc Fix potentially uninitialized warning on release build 2023-11-15 13:14:55 +01:00
pdo_pgsql Parallelize pdo tests (dblib, firebird, oci, odbc, pgsql) (#12395) 2023-10-28 12:35:57 +01:00
pdo_sqlite PDO: Clean-up tests so it's easier to see if they use default test table (#12552) 2023-10-29 23:13:30 +00:00
pgsql Merge branch 'PHP-8.3' 2023-11-10 16:08:08 +00:00
phar Improve jit tests 2023-11-14 20:09:27 +01:00
posix Fix use-of-uninitialized-value when calling php_posix_stream_get_fd (#11694) 2023-07-13 15:21:36 +02:00
pspell
random Merge branch 'PHP-8.3' 2023-10-14 18:38:43 +02:00
readline
reflection Typed constants in reflection extension (#12378) 2023-10-28 09:47:19 +02:00
session Close PHP tags in tests 2023-10-18 17:34:10 +02:00
shmop
simplexml Merge branch 'PHP-8.2' into PHP-8.3 2023-09-30 17:55:34 +02:00
skeleton
snmp following-up on GH-12551: removing inet_ntoa usage 2023-11-06 12:05:56 +00:00
soap Merge branch 'PHP-8.3' 2023-11-15 22:01:05 +01:00
sockets following-up on GH-12551: removing inet_ntoa usage 2023-11-06 12:05:56 +00:00
sodium Close PHP tags in tests 2023-10-18 17:34:10 +02:00
spl ext/spl: Restructure spl_array.c file to move ArrayObject methods together 2023-11-16 00:41:37 +00:00
sqlite3 Merge branch 'PHP-8.3' 2023-11-10 00:13:15 +01:00
standard Merge branch 'PHP-8.3' 2023-11-14 18:37:32 +01:00
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml Convert ext/xml fields from int to bool (#12497) 2023-10-22 22:11:16 +02:00
xmlreader Merge branch 'PHP-8.2' into PHP-8.3 2023-10-24 19:42:43 +02:00
xmlwriter Merge branch 'PHP-8.2' into PHP-8.3 2023-10-24 19:42:43 +02:00
xsl [RFC] DOM HTML5 parsing and serialization support (#12111) 2023-11-13 20:18:19 +01:00
zend_test Merge branch 'PHP-8.3' 2023-11-10 00:13:15 +01:00
zip Merge branch 'PHP-8.3' 2023-11-14 15:58:27 +01:00
zlib Close PHP tags in tests 2023-10-18 17:34:10 +02:00
ext_skel.php