hashicorp / hashicorp/serf

Int overflow on 32 bits arches

Open
#568 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
609
Avg merge
15h 1m
Merged PRs (30d)
3

Description

Golang 1.12.6 on i686 and armv7:
```
Testing in: /builddir/build/BUILD/serf-0.8.3/_build/src
PATH: /builddir/build/BUILD/serf-0.8.3/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
GOPATH: /builddir/build/BUILD/serf-0.8.3/_build:/usr/share/gocode
GO111MODULE: off
command: go test -buildmode pie -compiler gc -ldflags "-X github.com/hashicorp/serf/version=0.8.3 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
testing: github.com/hashicorp/serf
github.com/hashicorp/serf/coordinate
FAIL github.com/hashicorp/serf/coordinate [build failed]
BUILDSTDERR: # github.com/hashicorp/serf/coordinate [github.com/hashicorp/serf/coordinate.test]
BUILDSTDERR: ./client_test.go:83:23: constant 9223372036854775807 overflows int
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.181jfl (%check)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.