-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ARM64 (aarch64/ARMv7) on Windows 10: sh.exe "not compatible with the version of Windows you're running" #5292
Comments
This is sadly expected. Windows 10 only runs i686 code (also known as x86, i.e. 32-bit AMD/Intel) in emulation, and not x86_64 (also known as x64, i.e. 64-bit AMD/Intel). However, for technical reasons Git Bash does not yet support Windows/ARM64 natively. I tried to clarify this in this comment. |
Ah, that explains it. I wonder if the x86/32-bit bash shell should be included for the very few like me who still have these ARMv7 WOA computers in the wild (since there is no upgrade path to Windows 11 w/amd64 WoW emulation)? I know Git for Windows is looking to drop x86 support overall, but maybe this one component can live on in the arm64 package until it has a natively compiled version available. There's so few of us though that it's probably not worth the effort. Basically, only a handful of Asus NovaGo owners who also happen to use Git. Unfortunately, the x86 version isn't working under emulation. It just sort of hangs and does nothing on a 'git fetch'. |
While I am sympathetic, I can indeed not justify working on it. But I can give you pointers to get started:
A "full" solution would be much more involved, and would assume that you can use
|
This is a bit worrisome, as the same root cause may potentially prevent a lot of Git Bash's stuff to work, anyway, in which case all of the effort to get it to run would be in vain. |
I was thinking about this too, but figured it was a small enough userbase to not be worth it. Did you backport the hang fix to your i686 msys2-runtime-3.3 fork here? Maybe you could add a check to block install on Windows 10 to the ARM64 installer if you don't want to support it? |
No... But I'd gladly accept a PR (@MikeFarrington hint, hint😀 )
Sure, but I do not want to invest energy in preventing something that highly interested & motivated users may still bring about. |
It seems to me that the small percentage of ARM64 users who need i686 MSYS2 wouldn't be worth switching ARM64 entirely over to i686 (with its issues including lack of upstream support and address space conflicts), so if somebody did make an i686+ARM64 version, it would probably be a different installer than the x86_64+ARM64 one (which would still not work properly on Windows 10). |
If you don't know what I'm talking about, it's https://github.com/msys2/msys2-runtime/compare/bb6258c..fbc1019 (but it looks like 1f3be1e on are not in git-for-windows/msys2-runtime's 3.3 branch) |
Setup
defaults?
Mostly defaults. VSCode for GUI, REBASE by default
to the issue you're seeing?
I am running an older ARM on Windows CPU which isn't getting official Windows 11 support from Microsoft but still works well with just about every natively compiled application for Windows on ARM.
Details
I've tried both CMD and PowerShell. Bash will not launch due to error being reported.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
URL to that repository to help us with testing?
The text was updated successfully, but these errors were encountered: