-
-
Notifications
You must be signed in to change notification settings - Fork 206
Description
When attempting to upgrade GitHub Actions runners and building MacOS SDKs past the old versions we're currently using, various builds started failing validation because our custom code for validating that all strongly bound symbols were present in target MacOS SDK versions was failing.
Strangely, the failure was only occurring on LTO optimized (either the lto
or pgo+lto
optimization level) builds of CPython 3.10 or newer. Not 3.8 or 3.9. Nor any non-LTO build configuration on 3.10+.
The most likely symbols to be strongly bound instead of weak are mknodat
and mkfifoat
. However, pretty much every CPython weakly bound symbol is affected once the MacOS SDK is upgraded. (PR #161 suggested disabling mknodat
and mkfifoat
globally as a workaround but it turns out this problem is beyond those two symbols.)