-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
Support emulating arm64 go binaries with qemu #15050
Comments
Should be a qemu issue as the binary runs fine on real arm64 machines. Note
that we never support running with qemu-user and it's known to have
problems when running multithreaded programs.
|
That said, we have made simple changes to Go to work around qemu issues in the past as well. More investigation required, basically. |
Can you think about an easy way to fix? |
No. I asked a qemu maintainer and they said "I would say there is no immediate prospect of a fix". qemu-user is known to be bad with threads, although it works at least a bit with go binaries from other architectures. |
CL https://golang.org/cl/21599 mentions this issue. |
Michael, did you test with qemu/arm64? Does it fix the problem? Thanks. On Wed, Apr 20, 2016 at 1:00 PM Lucas Käldström [email protected]
|
No, I haven't tested anything. |
Did anyone test this? If not, why did it reference this bug? Was it clear On Wed, Apr 20, 2016 at 6:40 PM Michael Hudson-Doyle <
|
Oh sorry! Referencing this bug from that CL was simply a mistake (fixed before that CL was submitted). |
We've just merged major threading and signals rework has been into Qemu HEAD. From a quick check, running at least the @mwhudson hello world example works now. |
Excellent. @luxas Would you be able to check if this works now with Qemu HEAD? |
I'm going to close this bug for now; please comment if there are still problems with Qemu HEAD. Thanks! |
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
I'm not sure if it's a go or qemu issue, but qemu works fine with other binaries.
This works for
arm
andppc64le
, but notarm64
Thanks!
/cc @rsc (this is Kubernetes related kubernetes/kubernetes#17981)
The text was updated successfully, but these errors were encountered: