yaml icon indicating copy to clipboard operation
yaml copied to clipboard

Int overflow on 32 bits arches

Open eclipseo opened this issue 6 years ago • 1 comments

Golang 1.12.6 on i686 and armv7:

Testing    in: /builddir/build/BUILD/yaml-1.0.0/_build/src
         PATH: /builddir/build/BUILD/yaml-1.0.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/yaml-1.0.0/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/ghodss/yaml/version=1.0.0 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/ghodss/yaml
github.com/ghodss/yaml
FAIL	github.com/ghodss/yaml [build failed]
BUILDSTDERR: # github.com/ghodss/yaml [github.com/ghodss/yaml.test]
BUILDSTDERR: ./yaml_test.go:22:26: constant 9223372036854775807 overflows int

eclipseo avatar Jun 24 '19 17:06 eclipseo

This was fixed by commit 17e4fbe4c17909dc8b1967da1e6417248097b558

pterjan avatar Aug 31 '20 15:08 pterjan