Category
bootstrap | php-in-php
Problem
script/bootstrap-selfhost-lib-spine-smoke-link.sh still falls back to host Zend bin/compile.php when the native argv compile driver is blocked (#2967). M5 cold-boot requires BOOTSTRAP_NO_ZEND_FALLBACK=1 to succeed for spine link in north-star5-verify --strict without manual env hacks.
Zend gen-0 fallback hides missing native lowering on the compile spine and blocks honest self-host iteration (#1492).
php-src reference
N/A (bootstrap). Target: native binary from this repo's lib/ + ext/ compiles PHP without Zend in the loop.
Repro (failure today)
composer install
BOOTSTRAP_NO_ZEND_FALLBACK=1 make bootstrap-selfhost-lib-spine-smoke
# Today: may invoke host php bin/compile.php when native driver blocked
# Inspect fallback wiring:
grep -n 'compile.php\|ZEND\|zend' script/bootstrap-selfhost-lib-spine-smoke-link.sh script/bootstrap-resolve-compile-invoke.sh
With vendor/ absent + stale gen-0 sidecar, fallback masks cold-boot regressions (#8712).
Scope (this repo)
| Piece |
Path |
| Link script |
script/bootstrap-selfhost-lib-spine-smoke-link.sh |
| Compile invoke |
script/bootstrap-resolve-compile-invoke.sh, script/bootstrap-gen0-install-prelinked-driver.sh |
| Native driver |
lib/JIT.php M3/M4 argv gates, bin/compile.php spine entry |
| Prelinked blobs |
prelinked/bootstrap-gen0/ — must be valid when fallback removed |
| CI |
script/north-star5-verify.sh step alignment (#3053) |
PHP-in-PHP: native compile path through PHP lowering only; no new C runtime.
Done when
Verify
BOOTSTRAP_NO_ZEND_FALLBACK=1 make bootstrap-selfhost-lib-spine-smoke
make north-star5-verify-fast
# Pre-merge bootstrap batch only:
# make north-star5-verify ARGS=--strict
Links
#1492 · ROADMAP #78 · #2967 · #3053 · #8712 (vendor-absent wave-check) · #8708 (native Compiler::compile)
Category
bootstrap|php-in-phpProblem
script/bootstrap-selfhost-lib-spine-smoke-link.shstill falls back to host Zendbin/compile.phpwhen the native argv compile driver is blocked (#2967). M5 cold-boot requiresBOOTSTRAP_NO_ZEND_FALLBACK=1to succeed for spine link innorth-star5-verify --strictwithout manual env hacks.Zend gen-0 fallback hides missing native lowering on the compile spine and blocks honest self-host iteration (#1492).
php-src reference
N/A (bootstrap). Target: native binary from this repo's
lib/+ext/compiles PHP without Zend in the loop.Repro (failure today)
With
vendor/absent + stale gen-0 sidecar, fallback masks cold-boot regressions (#8712).Scope (this repo)
script/bootstrap-selfhost-lib-spine-smoke-link.shscript/bootstrap-resolve-compile-invoke.sh,script/bootstrap-gen0-install-prelinked-driver.shlib/JIT.phpM3/M4 argv gates,bin/compile.phpspine entryprelinked/bootstrap-gen0/— must be valid when fallback removedscript/north-star5-verify.shstep alignment (#3053)PHP-in-PHP: native compile path through PHP lowering only; no new C runtime.
Done when
BOOTSTRAP_NO_ZEND_FALLBACK=1 make bootstrap-selfhost-lib-spine-smokeexits 0 without invoking hostphp bin/compile.phpmake north-star5-verify-fastgreen after changenorth-star5-verify --strictspine link step passes without Zend (Self-host M5: gen-0 bootstrap-selfhost-link without Zend bin/compile.php (compiled driver only) #3053)BOOTSTRAP_NO_ZEND_FALLBACK=1as required for M5 PRs touching spine linktest/unit/CiScriptsTest.phpor bootstrap script test asserts no Zend fallback when flag setVerify
Links
#1492 · ROADMAP #78 · #2967 · #3053 · #8712 (vendor-absent wave-check) · #8708 (native Compiler::compile)