[php-src] Issue #9639: opcache: symbol not found in flat namespace (_zend_gdb_register_code) when JIT enabled on Mac OS X

From: Date: Thu, 29 Sep 2022 15:37:48 +0000
Subject: [php-src] Issue #9639: opcache: symbol not found in flat namespace (_zend_gdb_register_code) when JIT enabled on Mac OS X
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242495@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9639 Author: dunglas ### Description When compiling PHP 8.2 on Mac OS X with the following configuration: > ./configure --enable-embed=static --enable-zts --with-iconv=/opt/homebrew/opt/libiconv/ > --enable-opcache I get this error when loading the opcache.so extension: Failed loading /usr/local/lib/php/extensions/no-debug-zts-20220829/opcache.so: dlopen(/usr/local/lib/php/extensions/no-debug-zts-20220829/opcache.so, 0x0009): symbol not found in flat namespace (_zend_gdb_register_code) Disabling opcache JIT fixes the issue: > ./configure --enable-embed=static --enable-zts --with-iconv=/opt/homebrew/opt/libiconv/ > --enable-opcache --disable-opcache-jit ### PHP Version PHP 8.2-dev ### Operating System macOS 12.6

« previous php.bugs (#242495) next »