Skip to content

Int overflow on 32 bits arches #53

Description

@eclipseo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions