Bug #79255 [Fbk->Opn]: PHP cannot be compiled with enable JIT

From: Date: Thu, 13 Feb 2020 09:30:15 +0000
Subject: Bug #79255 [Fbk->Opn]: PHP cannot be compiled with enable JIT
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225554@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79255&edit=1 ID: 79255 Updated by: cmb@php.net Reported by: php at shyim dot de Summary: PHP cannot be compiled with enable JIT -Status: Feedback +Status: Open Type: Bug Package: *Compile Issues Operating System: NixOS PHP Version: master-Git-2020-02-10 (Git) Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-02-12 11:56:18] php at shyim dot de ./configure: line 86134: /usr/bin/file: No such file or directory /usr/bin/file does not exist. Maybe this should be located using which? ------------------------------------------------------------------------ [2020-02-12 09:15:15] nikic@php.net Please check what https://github.com/php/php-src/blob/9e5650265c21245a1920ae444d70806600039195/ext/opcache/config.m4#L45-L56 determines on your system. I suspect that you're on a 64-bit target, but 64-bit is not detected. ------------------------------------------------------------------------ [2020-02-10 18:21:34] php at shyim dot de Description: ------------ Tried following commit : https://github.com/php/php-src/commit/01957adb7ff69ae3282c221d3866292e6750252d Expected result: ---------------- It compiles without issues Actual result: -------------- /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_undefined_offset_stub’: /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc:1927:129: error: ‘znode_op’ {aka ‘union _znode_op’} has no member named ‘zv’ 1927 | | ^ /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc:144:49: note: in definition of macro ‘Dt2’ 144 | |.type ZVAL, zval | ^ /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_undefined_index_stub’: /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc:1997:130: error: ‘znode_op’ {aka ‘union _znode_op’} has no member named ‘zv’ 1997 | |.endif | ^ /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc:144:49: note: in definition of macro ‘Dt2’ 144 | |.type ZVAL, zval | ^ In file included from /nix/store/8pp3i3hcp7bv0f8jllzqq7gcp9dbzvp9-glibc-2.27-dev/include/sys/param.h:23, from ext/opcache/ZendAccelerator.h:86, from /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit.c:19: /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc: In function ‘zend_jit_undefined_function_stub’: /tmp/php-src-01957adb7ff69ae3282c221d3866292e6750252d/ext/opcache/jit/zend_jit_x86.dasc:2077:36: error: ‘znode_op’ {aka ‘union _znode_op’} has no member named ‘zv’ 2077 | return 1; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79255&edit=1

« previous php.bugs (#225554) next »