Bug #80608 [Com]: JIT failed to be enabled

From: Date: Tue, 26 Jan 2021 07:56:13 +0000
Subject: Bug #80608 [Com]: JIT failed to be enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231777@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80608&edit=1

 ID:                 80608
 Comment by:         ricardo dot cescon at panthermedia dot net
 Reported by:        bahador dot mirzazadeh30 at gmail dot com
 Summary:            JIT failed to be enabled
 Status:             No Feedback
 Type:               Bug
 Package:            JIT
 Operating System:   Microsoft Windows
 PHP Version:        8.0.1
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I have the same issue on Ubuntu without xdebug ext.

Linux version 5.4.0-1029-aws (buildd@lcy01-amd64-021) (gcc version 7.5.0 (Ubuntu
7.5.0-3ubuntu1~18.04))

PHP Warning:  JIT is incompatible with third party extensions that override zend_execute_ex(). JIT
disabled. in Unknown on line 0
[PHP Modules]
apcu
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
imagick
json
libxml
mbstring
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tideways
tokenizer
xml
xmlreader
xmlwriter
xsl
yaml
Zend OPcache
zlib


Previous Comments:
------------------------------------------------------------------------
[2021-01-24 04:22:14] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2021-01-15 10:11:48] cmb@php.net

> removing the xdebug ext solved the problem

Indeed, JIT is incompatible with extensions which setup user
opcode handlers (like Xdebug).  That is supposed to trigger a
warning[1].

Anyhow, let's see whether bahador had the same issue.

[1] <https://github.com/php/php-src/blob/php-8.0.1/ext/opcache/jit/zend_jit.c#L4193>

------------------------------------------------------------------------
[2021-01-15 09:40:15] a dot kravchuk at realt dot by

removing the xdebug ext solved the problem

------------------------------------------------------------------------
[2021-01-15 09:21:32] a dot kravchuk at realt dot by

Same problem
php -m output:

$ php -m
PHP Warning:  JIT is incompatible with third party extensions that override zend_execute_ex(). JIT
disabled. in Unknown on line 0

Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT
disabled. in Unknown on line 0
[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcntl
pcov
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
tideways_xhprof
tokenizer
xdebug
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Xdebug
Zend OPcache

------------------------------------------------------------------------
[2021-01-09 14:09:17] cmb@php.net

Please provide the list of extensions you have enabled (php -m).

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=80608


--
Edit this bug report at https://bugs.php.net/bug.php?id=80608&edit=1


Thread (12 messages)

« previous php.bugs (#231777) next »