Public bug reported:

golang-github-uber-go-atomic's autopkgtest is currently failing on armhf
with:

src/github.com/uber-go/atomic/uintptr_test.go:72:29: constant
18446744073709551615 overflows uintptr

I spent some time investigating it, and it's coming from this line on
uintptr_test.go:

atom := NewUintptr(uintptr(math.MaxUint64))

The problem seems to affect 32-bit architectures, and is well known by
the upstream Golang developers:

https://github.com/golang/go/issues/23086
https://github.com/golang/go/issues/23087

I tried a workaround that supposedly should work (casting math.MaxUint64
to uint64), but unfortunately it didn't.

I've reported the bug upstream.

** Affects: golang-github-uber-go-atomic (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Bug watch added: github.com/uber-go/atomic/issues #99
   https://github.com/uber-go/atomic/issues/99

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1935069

Title:
  autopkgtest failure on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-uber-go-atomic/+bug/1935069/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to