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 xz_sophos
Recipients ned.deily, ronaldoussoren, xz_sophos
Date 2020-12-11.10:34:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607682860.38.0.598588089863.issue42619@roundup.psfhosted.org>
In-reply-to
Content
With 3.9.1 source code, I am trying to make univerisal2 build of python.framework from the source code. The problem I am seeing is the main python binary is universal, but all the .so files in lib-dynload (Python.framework/Versions/3.9/lib/python3.9/lib-dynload/) are only x86_64.

The Mac is MacOS 10.15, with Xcode 12.2 installed. Xcode12.2 has SDKs to support universal build for both arm64 and x86_64 architecture. I have no problems making other universal applications and frameworks on the machine. 

Following the documentation. I ran the following build command:
./configure --enable-universalsdk --enable-framework=./tmp --with-universal-archs=universal2 --without-ensurepip
make
make install

The resulting python was universal but the .so files are not.
History
Date User Action Args
2020-12-11 10:34:20xz_sophossetrecipients: + xz_sophos, ronaldoussoren, ned.deily
2020-12-11 10:34:20xz_sophossetmessageid: <1607682860.38.0.598588089863.issue42619@roundup.psfhosted.org>
2020-12-11 10:34:20xz_sophoslinkissue42619 messages
2020-12-11 10:34:19xz_sophoscreate