Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compat: fix forced arch for helper-spawned python processes on macOS #5642

Merged
merged 1 commit into from Mar 18, 2021

Conversation

rokm
Copy link
Member

@rokm rokm commented Mar 17, 2021

Extend the architecture setting in __wrap_python() on macOS to handle arm64. Fixes helper-spawned python sub-processes failing to start with Bad CPU type in executable when running under arm64-only version of Python on Apple M1.

Fixes #5640.

Extend the architecture setting in __wrap_python() on macOS to
handle arm64. Fixes helper-spawned python sub-processes failing
to start with "Bad CPU type in executable" when running under
arm64-only version of Python on Apple M1.
@rokm
Copy link
Member Author

rokm commented Mar 17, 2021

I was originally planning to put this into macos11-arm64-support-cleanup branch, but since we now have an open issue for it, it might be better to get it fixed in advance.

@AppVeyorBot
Copy link

Build pyinstaller 1.0.972 completed (commit dd3f92ede5 by @rokm)

@bwoodsend bwoodsend merged commit a3b7414 into pyinstaller:develop Mar 18, 2021
@rokm rokm deleted the fix-5640 branch March 22, 2021 19:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad CPU Type on Apple Silicon
3 participants