msys2-runtime icon indicating copy to clipboard operation
msys2-runtime copied to clipboard

The command in msys2 is executed in terminal app on Windows on ARM platform, sometimes there is no response for a long time.

Open ConanNobita opened this issue 1 year ago • 5 comments

Commands in msys2 (x86_64) sometimes fail to respond, the process seems to be blocked, but commands in clangarm64 do not. Machine: Huawei Matebook E Go CPU: Qualcomm Snapdragon 8cx Gen3 OS: Windows 11 23H2

ConanNobita avatar Sep 20 '24 05:09 ConanNobita

Could you give a concrete example, preferably a repeatable one? And have you tried running such a reproducer through strace?

dscho avatar Sep 20 '24 07:09 dscho

For example, when I type the command pacman -Syu, sometimes there is no response. I haven't tried using strace yet, I will give it a try. If msys2 had an arm64 version, it might be even better.

ConanNobita avatar Sep 21 '24 14:09 ConanNobita

It's not possible to make native AArch64 MSYS2 until Cygwin supports AArch64.

mati865 avatar Sep 22 '24 09:09 mati865

For example, when I type the command pacman -Syu, sometimes there is no response.

This is probably the double-fork issue we've been dealing with for quite some time. I'm not sure which issue/pr best encapsulates the issue: https://github.com/msys2/msys2-autobuild/issues/62 https://github.com/msys2/MSYS2-packages/pull/4583 https://cygwin.com/pipermail/cygwin-developers/2024-May/012694.html https://cygwin.com/pipermail/cygwin/2024-July/256271.html

jeremyd2019 avatar Sep 23 '24 17:09 jeremyd2019

https://cygwin.com/pipermail/cygwin/2024-July/256271.html

Personally, I prefer https://inbox.sourceware.org/cygwin/[email protected]/#t because that UI makes it easier to follow responses (or lack thereof).

dscho avatar Sep 25 '24 11:09 dscho