Category
bootstrap | runtime
Problem
bin/jit.php -r '...' SIGSEGV during MCJIT execute (#98) blocks LLVM-assisted bootstrap experiments and erodes confidence that JIT paths can participate in self-host verification. Bootstrap probes today rely on VM/AOT; JIT crash prevents honest -r smoke on compiler sources and blocks JIT-only builtins from bootstrap iteration.
php-src reference: N/A (compiler runtime). LLVM MCJIT execute is project-owned (lib/JIT.php, bin/jit.php).
Repro
./script/docker-exec.sh -- bash -lc 'php bin/jit.php -r "echo 1;"'
# Observed: SIGSEGV / exit 139 (issue #98)
Compare VM baseline (must pass):
./script/docker-exec.sh -- bash -lc 'php bin/vm.php -r "echo 1;"'
Bootstrap impact:
Scope
bin/jit.php MCJIT execute entry
lib/JIT.php module init / symbol resolution for -r one-shot units
test/compliance/ JIT smoke guard once execute is stable
- Document bootstrap policy: no Zend JIT fallback in self-host probes
Done when
Related
Category
bootstrap|runtimeProblem
bin/jit.php -r '...'SIGSEGV during MCJIT execute (#98) blocks LLVM-assisted bootstrap experiments and erodes confidence that JIT paths can participate in self-host verification. Bootstrap probes today rely on VM/AOT; JIT crash prevents honest-rsmoke on compiler sources and blocks JIT-only builtins from bootstrap iteration.php-src reference: N/A (compiler runtime). LLVM MCJIT execute is project-owned (
lib/JIT.php,bin/jit.php).Repro
Compare VM baseline (must pass):
./script/docker-exec.sh -- bash -lc 'php bin/vm.php -r "echo 1;"'Bootstrap impact:
bin/jit.phpfor inventory hot-loop probes (Self-host M2: BootstrapVmDriver native execute smoke (post-#2134 bin/vm.php link) #2201 VM driver probe is separate)Scope
bin/jit.phpMCJIT execute entrylib/JIT.phpmodule init / symbol resolution for-rone-shot unitstest/compliance/JIT smoke guard once execute is stableDone when
php bin/jit.php -r 'echo 1;'exits 0 on Docker CI image (php-compiler:22.04-dev)docs/bootstrap-selfhost.mdnotes JIT-ras available for probes (or explicit remaining limits)Related