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

Mismatch between Python pei-x86-64 and MinGW-w64 pei-i386 arches #102

Closed
1 task done
fireundubh opened this issue Nov 19, 2019 · 6 comments
Closed
1 task done

Mismatch between Python pei-x86-64 and MinGW-w64 pei-i386 arches #102

fireundubh opened this issue Nov 19, 2019 · 6 comments
Assignees
Labels
Area: Python awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug Something isn't working OS: Windows

Comments

@fireundubh
Copy link

Describe the bug
When I try to use Nuitka to compile with x64 Python and MinGW-w64, Nuitka throws the following exception:

Mismatch between Python pei-x86-64 and MinGW64 ('pei-i386') arches

The maintainer of Nuitka told me this is a real error. The arches must match. Either the x64 arch of MinGW-w64 is not installed, or an undocumented environment variable is needed to switch the arch.

The Software installed on GitHub-hosted runners page does not provide any guidance and confusingly lists MinGW instead of MinGW-w64 although choco install mingw installs MinGW-w64.

Virtual environments affected

  • Windows Server 2019
@fireundubh
Copy link
Author

fireundubh commented Nov 19, 2019

From testing choco locally, choco install mingw appears to install the x86 arch of MinGW-w64. Would this issue be better off as a tool request?

@github-actions
Copy link
Contributor

This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity.

@andy-mishechkin
Copy link
Contributor

MinGW 64 is planned to add as part of MSYS2:
#30

@AlenaSviridenko
Copy link
Contributor

PR with MSYS2 installation: #632. It will be merged after pandemic is going down in order not to bring possibly dangerous changes on image and reduce customers impact.
Thanks!

@miketimofeev miketimofeev added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Apr 14, 2020
@mati865
Copy link

mati865 commented May 2, 2020

From testing choco locally, choco install mingw appears to install the x86 arch of MinGW-w64. Would this issue be better off as a tool request?

Choco installs arch matching the OS arch so you get i686 mingw-w64 on 32 bit Windows and x86_64 on 64 bit Windows.
On the CI only x86_64 mingw-w64 is installed: https://github.com/mati865/actions-test/runs/638620890?check_suite_focus=true

@vsafonkin
Copy link
Contributor

Hi @fireundubh , MinGW-w64 is installed on Windows images. I've closed this issue, please feel free reopen it if you have any concerns or problems. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Python awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug Something isn't working OS: Windows
Projects
None yet
Development

No branches or pull requests

8 participants