Category
bootstrap / compile
Problem
Full AOT emit of bin/compile.php fatals after #11392 TYPE_MUL fix:
Undefined constant llvm\llvm::LLVMTokenTypeKin
in vendor/ircmaxell/php-llvm/lib/LLVMAbstract/Type.php:79 — typo (Kin vs Kind); FFI defines LLVMTokenTypeKind.
Blocks inventory argv driver rebuild and M4 full-revision probe.
Repro
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh
PHP_COMPILER_MEMORY_LIMIT=8192M php -d memory_limit=8192M bin/compile.php -o /tmp/inv bin/compile.php 2>&1 | tail -5
'
Fix
Patch LLVMTokenTypeKin → LLVMTokenTypeKind in vendor Type.php via script/apply-patches.sh.
Done when
Refs #1492, #11392
Category
bootstrap/compileProblem
Full AOT emit of
bin/compile.phpfatals after #11392 TYPE_MUL fix:in
vendor/ircmaxell/php-llvm/lib/LLVMAbstract/Type.php:79— typo (KinvsKind); FFI definesLLVMTokenTypeKind.Blocks inventory argv driver rebuild and M4 full-revision probe.
Repro
Fix
Patch
LLVMTokenTypeKin→LLVMTokenTypeKindin vendor Type.php viascript/apply-patches.sh.Done when
Refs #1492, #11392