Skip to content

JIT is not enabled in ARM image #24

@KEINOS

Description

@KEINOS

UPDATE 2021/07/29: PHP 8.1 JIT is going to support arm64. Thus RPi 3 (ARM v7l) + RaspberryPiOS 64bit might work in the near future. But RPi Zero's ARM6l 32bit. 😭


In the latest build-20201128, JIT is Not Available on RaspberryPi3 (ARM).

  • Raspbian
$ docker run --rm keinos/php8-jit:latest php -i | grep jit
Additional .ini files parsed => /usr/local/etc/php/conf.d/docker-php-enable-jit.ini,
auto_globals_jit => On => On
pcre.jit => 1 => 1

$ docker run --rm keinos/php8-jit:latest php -i | grep JIT | head -3
PCRE JIT Support => enabled
PCRE JIT Target => ARMv5 32bit (little endian + aligned) ABI:hardfp
JIT => Not Available
$ docker run --rm keinos/php8-jit:latest env | grep TAG_RELESED
TAG_RELESED=8.0.0-dev-build-20201128

$ cat /etc/os-release | grep PRETTY
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"

$ uname -a
Linux MyRasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

$ docker --version
Docker version 19.03.13, build 4484c46

In macOS (Intel/AMD), JIT was enabled though.

  • macOS
$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H15

$ docker run --rm keinos/php8-jit:latest php -i | grep JIT | head -3
PCRE JIT Support => enabled
PCRE JIT Target => x86 64bit (little endian + unaligned)
JIT => On

$ docker --version
Docker version 19.03.13, build 4484c46d9d

$ docker run --rm keinos/php8-jit:latest env | grep TAG_RELESED
TAG_RELESED=8.0.0-dev-build-20201128

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions