You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(opcache): macOS/arm64 support for the relocator (absolute-address oplines) #119
Follow-up to the OpCache binary-file API (#111, merged). Relates to #58 (macOS).
The relocator preserves oplines verbatim, relying on ZEND_USE_ABS_CONST_ADDR == 0 and ZEND_USE_ABS_JMP_ADDR == 0 (true on linux-x64: operands are literal indexes, jumps are relative). On builds where either is 1, zend_file_cache_(un)serialize_op_array relocates opline->op1/op2.zv and jmp_addr per-opline — the relocator must do the same there.
Scope: add the per-opline absolute-address relocation branches for macOS/arm64, gated on the platform, once #58 provides the base platform support. Track alongside that issue.
Windows is intentionally out of scope (rescoped 2026-08-19): full opcache support on Windows is a deliberate non-goal for z-engine. The relocator keeps rejecting Windows loudly (PayloadRelocator constructor throws OpCacheException::unsupportedPayload), and the docs record it as an intentional limitation rather than pending work. The original Windows half of this ticket (per-opline absolute-address branches for the Windows build plus the Windows zend_file_cache_get_bin_file_path layout) is preserved here for reference in case that policy ever changes, but no Windows relocator work is planned.
changed the title [-]feat(opcache): macOS/arm64 & Windows support for the relocator (absolute-address oplines)[/-][+]feat(opcache): macOS/arm64 support for the relocator (absolute-address oplines)[/+]on Aug 19, 2026
Activity
fix(core): resolve engine artifacts and the CRT on Windows (#59)
test: make the suite runnable on Windows (#59)
fix: skip the preload autoboot cases on Windows
[-]feat(opcache): macOS/arm64 & Windows support for the relocator (absolute-address oplines)[/-][+]feat(opcache): macOS/arm64 support for the relocator (absolute-address oplines)[/+]feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): relocate property-hook op_arrays in the file-cache pay…
feat(opcache): pin down the darwin opline addressing model with a tri…