This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author philthompson10
Recipients dstufft, eric.araujo, philthompson10
Date 2021-06-23.00:52:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624409568.36.0.590312520398.issue44492@roundup.psfhosted.org>
In-reply-to
Content
I am running macOS v11 (Big Sur) and using Xcode v12.1 (because this is the latest that includes SDK v10.15 rather than v11) to build a C extension. I'm using the older SDK because of 3rd party libraries that are not tested against the newer SDK.

This version of Xcode/SDK does not support universal2 binaries. However because _supports_arm64_builds() in _osx_support only tests the macOS version and not the SDK version it returns True which means that distutils does not call compiler_fixup() to remove the '-arch arm64'. The compilation then fails.

Should this work, or does Python v3.10 require SDK v11?
History
Date User Action Args
2021-06-23 00:52:48philthompson10setrecipients: + philthompson10, eric.araujo, dstufft
2021-06-23 00:52:48philthompson10setmessageid: <1624409568.36.0.590312520398.issue44492@roundup.psfhosted.org>
2021-06-23 00:52:48philthompson10linkissue44492 messages
2021-06-23 00:52:47philthompson10create