runtime: TestFloat64 test fails under arm64 qemu #29657
Closed
Labels
Milestone
Comments
Can we be sure that the QEMU implementation of the hardware floating point is correct and accurate? |
You may be right that this could be a QEMU problem. I'm running QEMU 3.0.0 which doesn't seem to have the following commit, which is mentioned in the bug report and is supposed to fix it: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=5dfbc9e4903c0121140f2 I will try applying it and see if it solves the issue. |
I can confirm that the above QEMU patch seems to have solved this issue. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?I'm running qemu in system emulation mode. Host is (NixOS) Linux x86-64, guest is (NixOS) Linux arm64.
Relevant qemu command line arguments:
What did you do?
Tried to build the go compiler as part of the standard Nix/NixOS build system, which includes running the tests.
What did you expect to see?
I expected all the tests to pass.
What did you see instead?
I ran into this failure:
Seems to be some kind of rounding issue.
All other tests pass (although admittedly, NixOS disables some tests by default due to them being unreliable or requiring sandboxed features).
The text was updated successfully, but these errors were encountered: