-
Notifications
You must be signed in to change notification settings - Fork 80
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
sigill on linux/arm64 (emulated) #119
Comments
Running the prograrm natively with |
@alexcrichton What is your kernel version? For example, Ubuntu 18.04 (which, unfortunately in this case, is still supported) by default ships with a kernel that does not support the variant of the |
My
So I think it may be supported? I'll note that the |
You are probably right - Docker stopped blocking |
Ah perfect! Pasing |
Host is macos 12.1 (
|
Ah ok, looks like you're emulating linux-arm64 on macos-x86_64. AFAIK that's a pretty serious emulation layer and given that the issue only happens there I'd probably chalk it up to the emulation layer for now. |
FWIW I've noticed this originally emulating arm64 on Linux/amd64, in a GitHub action run. But I've got little control over that environment, so I've taken the laptop for reproducing the error. Probably still got something to do with the emulation involved... 🤷 |
@alexcrichton thanks for taking the time to look into this with me ❤️ |
With this main.go (files here):
The following command instantly fails for me:
It works fine and loops for a while if run using
--platform linux/amd64
or if not using docker at all, on macos/amd64 host. Since qemu and binfmt_misc is involved when running a different platform, I don't know if the problem happens on a actual linux/arm64 hardware, or if this is somehow emulation-related.The text was updated successfully, but these errors were encountered: