You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compiling on macOS 15 results in undefined symbol on macOS 12 #1008
Because GitHub deprecated the macOS 13 Intel runner images, we had to compile PHP on the new macOS 15 runners.
This seems to result in an error on older macOS versions:
Activity
crazywhalecc commentedon Dec 20, 2025
I'll set up a macOS 12 vm and have some tests on my pc, but it may be not fixable due to backward compatibility reason.
henderkes commentedon Dec 20, 2025
I don't think there's anything we can do. You'll have to fall back to compiling on old runners.
crazywhalecc commentedon Dec 21, 2025
You can build with env variable:
MACOSX_DEPLOYMENT_TARGET=12.0, e.g.MACOSX_DEPLOYMENT_TARGET=12.0 bin/spc build curl,mbstring --build-cli.This can solve the issue of the minimum OS when building in macOS 14/15, but there is no guarantee that it will be available in future macOS versions.
I'll test this macOS environment variable sets in main spc for stability.