- Notifications
You must be signed in to change notification settings - Fork8k
Closed
Description
Description
When building PHP on Alpine Linux 3.22 with musl and targeting 32-bit or 64-bit x86 platforms, a regression is observed related to inline assembly inext/opcache/jit/zend_jit_ir.c
, specifically:
This errordoes not occur on Alpine 3.21 using the same compilation toolchain. The issue stems from the@TLSGD
usage which implicitly expects%rdi
on x86_64 or%eax
on i386, depending on the TLS model.
ext/opcache/jit/zend_jit_ir.c:3459: Error: @TLSGD operator requires
%rdi' as dest register`
Environment
- Alpine Linux 3.22
- GCC (via
build-base
) - musl libc
- Target:
x86_64
ori386
- Affected file:
ext/opcache/jit/zend_jit_ir.c
Related PR / Reference
PHP Version
8.4.7-zts8.3.21-zts8.2.28-zts8.1.32-zts
Operating System
Alpine 3.22