[php-src] PR #20159: Upgrade nightly macOS version to macos 15
| From: | shivammathur | Date: | Mon, 13 Oct 2025 15:53:34 +0000 |
| Subject: | [php-src] PR #20159: Upgrade nightly macOS version to macos 15 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33625@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20159
Author: shivammathur
This PR upgrades macOS version in the nightly workflow as
macos-13 has been deprecated
and will be discontinued soon. The next x86_64 macOS version they have added in macOS 15.
(https://github.com/actions/runner-images/issues/13046)
So, we can upgrade to.
- macOS 15 (macos-15-intel) for all x86_64 runs.
- macOS 15 for 8.5 and master. we can keep macOS 14 for 8.1 to 8.4 for arm64.
Issues Identified on macOS 15.
- [X] JIT TLS changes in macos 15 causes segfaults. (Fixed in https://github.com/php/php-src/pull/20121)
- [ ] Test ext/ctype/tests/lc_ctype_inheritance.phpt fails on 8.2 and above as macOS
15 inherits LC_CTYPE into the thread locale. We can skip the test on macos 15 as the issue is a due
to a change by Apple as discussed in #19828.
- [ ] 8.1 does not build on macos-15 with this error (no_caller_saved_registers function calls
memcmp (Zend/zend_string.c:389). [Logs
](https://github.com/shivammathur/php-src/actions/runs/18394026495/job/52409827839#step:5:25). We
can backport 6339938c7e289cb5a1c0bf8f37d96537301d5477 in PHP-8.1
([patch](https://github.com/shivammathur/php-src/commit/54f8a2a4388143f9a80d466a7f8bc2211bc9bdb4)),
but I'm not sure as the branch is now for security-fixes only.