-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Migrate GH Actions macos-10.05 to macos-11 #9087
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
Conversation
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.
LGTM if the build passes
@zeriyoshi I think macOS 11 disallows |
@iluuu1994 I did look at the logs, it appears that many libraries are already installed. Do I remove these from brew.yaml? Or leave it for clarity? https://github.com/php/php-src/runs/7451974041 |
That depends, the system libs are not updated as often as the brew counterparts nor they are necessarily the same e.g.
|
@zeriyoshi I think my previous assumption was wrong, |
@devnexen @iluuu1994 https://github.com/php/php-src/runs/7452896461 |
The problem could not be resolved during waking hours. For speedy fixes, please disregard this PR and correct the problem if it can be resolved. |
Any progress here? It seems that our macOS jobs are being cancelled for a while, so upgrading to macOS 11 appears to be somewhat urgent (also for the PHP-8.0 and PHP-8.1 branches). |
@cmb69 CI is cancelled, but works fine except for the GH's takedown schedule. I think the size of zend_long is wrong, any ideas? https://github.com/php/php-src/runs/7453701653 |
Are they possibly running on a different architecture? We might need to cater to that: Lines 25 to 28 in a398a2f
|
@devnexen perhaps 👆? |
Doesn't sound like this has changed.
|
I can definitely reproduce the error on rosetta mode in my mac M1. |
Disable long 64 bits support and disable zend_string_equal_val assembly implementation then as instructions are not longer understood.
@devnexen |
Perhaps it is incorrect to disable ZEND_ENABLE_ZVAL_LONG64. This will cause zend_long to be 32-bit even on 64-bit architectures. |
Or maybe it happens only in virtual environment ? after all, rosetta is just x86 64 emulation (it can t handle AVX instructions for example), I no longer have my old intel macos to confirm. |
Same brew packages and I use mostly clang from xcode, however I m running monterey. |
This is likely related to ZEND_DVAL_TO_LVAL_CAST_OK. Can you try force disabling it? |
I see similar failures when doing a release build with clang on Linux. |
b3b0704
to
2dfb543
Compare
After confirming that it works properly, create a separate PR. |
The above seems to be the conclusion. On the other hand, I will create a separate PR as it turns out that the problem requires a change in implementation to be resolved. |
f3a778a
to
8532bad
Compare
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.
Great, now it works. Thank you!
I suggest to apply that PHP 8.0, and to merge upwards.
Thank you for suggesting! |
8532bad
to
1fb8599
Compare
macos-10.05
is deprecated and brownouting, CI is almost fails.https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners