-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on building Opcache JIT for Windows ARM64 #16839
Comments
Right, this makes sense because the gs register is x86(-64) specific. In fact, I don't think that the JIT works for Windows+ARM64, so it should probably be disabled by the configure script. |
I agree that we should And when cross-compiling, if you don't use
(cf. #15610 (comment)) |
OPcache JIT does not support Windows ARM64, so we should not allow `--enable-opcache-jit` in the first place. Due to the way `ARG_ENABLE()` is handled on Windows, we do not attempt to suppress the configure option, but just do not enable JIT when the user attempts to, and adapt the help text.
OPcache JIT does not support Windows ARM64, so we should not allow `--enable-opcache-jit` in the first place. Due to the way `ARG_ENABLE()` is handled on Windows, we do not attempt to suppress the configure option, but just do not enable JIT when the user attempts to, and adapt the help text.
OPcache JIT does not support Windows ARM64, so we should not allow `--enable-opcache-jit` in the first place. Due to the way `ARG_ENABLE()` is handled on Windows, we do not attempt to suppress the configure option, but just do not enable JIT when the user attempts to, and adapt the help text.
There is aarch64 support for POSIX systems, but I believe this is still different to what would be needed for Windows ARM64. Plus, cross-compilation may pose more difficult issues than with an autotools build-chain. And from what I can tell, we do not yet support native compilation on Windows ARM64 (although Visual Studio 17.4 is supposed to support that). |
Definitely, the ABI and how TLS (for ZTS) is handled is different. |
* PHP-8.4: Fix GH-16839: Error on building Opcache JIT for Windows ARM64
Thanks you @cmb69 |
Description
When I try to build the version 8.0.4RC4 on Windows 11 with ARM64 processors, I have this error.
The build work if I add the
—disable-opcache-jit
.Resulted in this output:
PHP Version
PHP 8.4.0RC4
Operating System
Windows 11 ARM64
The text was updated successfully, but these errors were encountered: