[New-bugs-announce] [issue44492] Building a C extension on Big Sur and SDK v10.15 fails

Phil Thompson report at bugs.python.org
Tue Jun 22 20:52:48 EDT 2021


New submission from Phil Thompson <phil at riverbankcomputing.com>:

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?

----------
components: Distutils
messages: 396377
nosy: dstufft, eric.araujo, philthompson10
priority: normal
severity: normal
status: open
title: Building a C extension on Big Sur and SDK v10.15 fails
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44492>
_______________________________________


More information about the New-bugs-announce mailing list