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

From: Date: Tue, 26 Jan 2021 10:47:01 +0000
Subject: Bug #80608 [Com]: JIT failed to be enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231779@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:

Hello cmb@php.net,

thanks for your fast answer.
I tried now without tideways and it works.
How can I use JIT with Tideways?
Or dose this currently not work without the feature request
#80621?


Previous Comments:
------------------------------------------------------------------------
[2021-01-26 09:44:56] cmb@php.net

Did you try without tideways?  In any way, that would not be a bug
in PHP, but might be improvable according to feature request
#80621.

------------------------------------------------------------------------
[2021-01-26 07:56:13] ricardo dot cescon at panthermedia dot net

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

------------------------------------------------------------------------
[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

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


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 (#231779) next »