-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Zend: fix undefined symbol 'execute_ex' on Windows ARM64 Issue#19064 #19068
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
base: PHP-8.4
Are you sure you want to change the base?
Conversation
ext/gd: fix emmintrin.h not found on Windows ARM64
Nice catch ! we do not have windows arm64 CI. @cmb69 does it look good to you ? |
This looks generally good to me, but zend_vm_execute.h needs to be regenerated since zend_vm_execute.h has been changed (see zend_vm_gen.php). I'm not quite sure what to do about gd_interpolation.c; upstream doesn't have these lines, and I think they are superfluous; but it doesn't hurt to apply this patch for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VM change is fine in any case
@@ -62,7 +62,7 @@ | |||
#include "gdhelpers.h" | |||
#include "gd_intern.h" | |||
|
|||
#ifdef _MSC_VER | |||
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a matching pragma optimize down below.
Probably, the include should just be dropped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream libgd has removed these lines, it might be safe to remove them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed: libgd/libgd@f1480ab
ext/gd: fix emmintrin.h not found on Windows ARM64. emmintrin.h is x86 specific.