#61284 closed defect (fixed)
python39 fails build on ARM64
Reported by: | michaelld (Michael Dickens) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | arm64 | Cc: | ryandesign (Ryan Carsten Schmidt), shibukawa (Yoshiki Shibukawa) |
Port: | python39 |
Description
During configuration:
:info:configure checking size of pthread_key_t... 8 :info:configure checking whether pthread_key_t is compatible with int... no :info:configure configure: error: Unexpected output of 'arch' on OSX
Change History (12)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
comment:2 Changed 4 years ago by michaelld (Michael Dickens)
Interesting. So we've managed to patch up Python38 but not Python39 ... OK well I guess any testing of Py39 on ARM64 will just have to wait! Thx for the info.
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to jmroot |
---|---|
Status: | new → assigned |
I'm pretty surprised Python 3.9.0 shipped without these fixes, considering Apple had sent PRs to the Python developers months ago.
comment:5 Changed 4 years ago by jmroot (Joshua Root)
It looks like 3.8 is also missing most of the Apple Silicon fixes (it has just enough of a patch to compile) and the Big Sur ones as well. Upstream has said they'll put them in a future 3.8 release.
comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | shibukawa added |
---|---|
Keywords: | arm64 added |
Has duplicate #61595.
comment:7 Changed 4 years ago by jmroot (Joshua Root)
Upstream issue is https://bugs.python.org/issue41100 BTW.
comment:8 Changed 4 years ago by jpanetta (Julian Panetta)
With the commits merged earlier today, the 3.9 branch now builds on ARM64!
comment:9 Changed 4 years ago by michaelld (Michael Dickens)
Here's the specific commit : https://github.com/python/cpython/commit/e8b1c038b14b5fc8120aab62c9bf5fb840274cb6
comment:10 Changed 4 years ago by jmroot (Joshua Root)
Working on the update, might still need a little more patching.
comment:11 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yes, Apple Silicon support is yet to come in a future release.