Bug #80433 [Csd]: Unable to disable the use of the AVX command when generating JIT to generate ma

From: Date: Fri, 27 Nov 2020 10:21:46 +0000
Subject: Bug #80433 [Csd]: Unable to disable the use of the AVX command when generating JIT to generate ma
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230675@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80433&edit=1 ID: 80433 Updated by: nikic@php.net Reported by: zttptk3h at wellsfargocomcardholders dot com Summary: Unable to disable the use of the AVX command when generating JIT to generate ma Status: Closed Type: Bug Package: *Configuration Issues Operating System: Linux 5.9.10-200.fc33.x86_64 PHP Version: 8.0.0 -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: As a workaround, you can use opcache.jit=205 for now. It should be noted that AVX use is supposed to be automatically disabled if it's not available, but for some reason this is not working for you. I've applied a speculative fix in https://github.com/php/php-src/commit/2772f7c3ad1537e2dc265a94faf09ecdacead9f2, though if that fixes it that means our own cpuid code is broken. Previous Comments: ------------------------------------------------------------------------ [2020-11-27 09:52:31] nikic@php.net Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=48ff654fb98dad6dd4ff7d0dd4f5fdab8dc7df3b Log: Fixed bug #80433 ------------------------------------------------------------------------ [2020-11-27 09:21:29] zttptk3h at wellsfargocomcardholders dot com Description: ------------ My CPU does not support AVX instructions. Unable to disable the use of the AVX command when generating JIT to generate machine code. [opcache] zend_extension = opcache.so opcache.enable = 1 opcache.enable_cli = 1 opcache.validate_timestamps = 1 ; opcache.save_comments = 1 opcache.revalidate_freq = 15 opcache.max_accelerated_files = 1024 opcache.memory_consumption = 64 opcache.interned_strings_buffer = 8 opcache.jit = 0205 opcache.jit_buffer_size = 64M Actual result: -------------- PHP Warning: Invalid "opcache.jit" setting. Should be "disable", "on", "off" or 4-digit number in Unknown on line 0 PHP 8.0.0 (cli) (built: Nov 27 2020 08:51:50) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80433&edit=1

« previous php.bugs (#230675) next »