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 #54

Open
eclipseo opened this issue Jun 24, 2019 · 1 comment
Open

Int overflow on 32 bits arches #54

eclipseo opened this issue Jun 24, 2019 · 1 comment

Comments

@eclipseo
Copy link

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
@pterjan
Copy link

pterjan commented Aug 31, 2020

This was fixed by commit 17e4fbe

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

2 participants