Skip to content
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

Int overflow on 32 bits arches #53

Open
eclipseo opened this issue Jun 28, 2019 · 0 comments
Open

Int overflow on 32 bits arches #53

eclipseo opened this issue Jun 28, 2019 · 0 comments

Comments

@eclipseo
Copy link

Golang 1.12.6 on i686 and armv7:

Testing    in: /builddir/build/BUILD/objecthash-d1e3d6079fc16f8f542183fb5b2fdc11d9f00866/_build/src
         PATH: /builddir/build/BUILD/objecthash-d1e3d6079fc16f8f542183fb5b2fdc11d9f00866/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/objecthash-d1e3d6079fc16f8f542183fb5b2fdc11d9f00866/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/benlaurie/objecthash/version=0 -X github.com/benlaurie/objecthash/version.commit=d1e3d6079fc16f8f542183fb5b2fdc11d9f00866 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/benlaurie/objecthash
github.com/benlaurie/objecthash/go/objecthash
FAIL	github.com/benlaurie/objecthash/go/objecthash [build failed]BUILDSTDERR: # github.com/benlaurie/objecthash/go/objecthash [github.com/benlaurie/objecthash/go/objecthash.test]
BUILDSTDERR: ./objecthash_test.go:131:7: constant 9007199254740992 overflows int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant