Skip to content
This repository was archived by the owner on Jul 30, 2022. It is now read-only.
This repository was archived by the owner on Jul 30, 2022. It is now read-only.

Int overflow on 32 bits arches #29

Description

@eclipseo

Golang 1.12.6 on i686 and armv7:

Testing    in: /builddir/build/BUILD/leveldb-259d9253d71996b7778a3efb4144fe4892342b18/_build/src
         PATH: /builddir/build/BUILD/leveldb-259d9253d71996b7778a3efb4144fe4892342b18/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/leveldb-259d9253d71996b7778a3efb4144fe4892342b18/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/golang/leveldb/version=0 -X github.com/golang/leveldb/version.commit=259d9253d71996b7778a3efb4144fe4892342b18 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/golang/leveldb
github.com/golang/leveldb
PASS
ok  	github.com/golang/leveldb	0.128s
github.com/golang/leveldb/bloom
FAIL	github.com/golang/leveldb/bloom [build failed]
BUILDSTDERR: # github.com/golang/leveldb/bloom [github.com/golang/leveldb/bloom.test]
BUILDSTDERR: ./bloom.go:111:35: constant 3332679571 overflows int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions