-
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 PHP 8.4RC4 on Windows 11 ARM64 #16827
Comments
I don't think this is a bug in php-src, but let's see. Lines 90 to 92 in 1b803bc
|
I use the package available here : https://phpext.phptools.online/experimental It's build with winlib/builder private fork (it's necessary for work with my self-hosted ARM64 runner). The GitHub Action configuration is same as winlib/builder:.github/workflows/openssl.yml. The file |
applink.c is installed for x64 and x86 builds, but not for arm64 builds, because the uplink feature is disabled there: I don't know whether that's correct. Anyhow, copying the file manually makes the build pass. The alternative would be to not include applink.c for Windows ARM64. I guess the former is the correct solution, but since I can't test, I'm not sure. |
I added the copy of file |
For some reason applink.c is not installed for ARM64 builds[1]. That might be an upstream issue, but would need to be checked on a Windows ARM64 machine; for now, it might be best to just install the file manually, and see where that goes. [1] <php/php-src#16827>
I've filed winlibs/winlib-builder#26. |
Description
This error occurs when I try to build PHP for Windows 11 on an ARM64 processor.
I use the GitHub Action
php-windows-builder
updated to build for ARM64.PHP Version
PHP 8.4.0RC4
Operating System
Windows 11 ARM64
The text was updated successfully, but these errors were encountered: