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
x/text: test failures with Go 1.8 on ppc64el #18808
Comments
It looks like a 32-bit unsigned constant (0x80000000) is being sign extended to 64-bits before being compared with a 32-bit unsigned number (in a 64-bit unsigned comparison). It should instead be zero extended. From ppc64le:
amd64: (note the 32-bit comparison)
I'll investigate further tomorrow unless someone beats me to it. |
Found it, sent https://go-review.googlesource.com/#/c/35890/. |
CL https://golang.org/cl/35890 mentions this issue. |
Wow, thanks for the fast fix @mundaym |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?$ /usr/lib/go-1.8/bin/go version
go version go1.8beta2 linux/ppc64le
(but it also happens with 1.8rc3)
What operating system and processor architecture are you using (
go env
)?(It's Ubuntu 16.04)
What did you do?
What did you expect to see?
Tests passing.
What did you see instead?
Tests failing (it's rather verbose, so see https://gist.github.com/mwhudson/81cf4b51fb2e6b0e516a812a864d3907)
The failing packages are:
This only happens on ppc64el and only with Go 1.8, which is frankly a bit strange.
The text was updated successfully, but these errors were encountered: