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 i686 and armv7hl #12

Closed
eclipseo opened this issue May 17, 2018 · 2 comments
Closed

Int overflow on i686 and armv7hl #12

eclipseo opened this issue May 17, 2018 · 2 comments

Comments

@eclipseo
Copy link

eclipseo commented May 17, 2018

When building on a 32 bits x86 or 32 bits ARM system, the following error occurs:

Testing: "/builddir/build/BUILD/cachecontrol-fd225a25f1983d116db58553068677ba03f51fa9/_build/src/github.com/pquerna/cachecontrol/cacheobject"
+ GOPATH=/builddir/build/BUILD/cachecontrol-fd225a25f1983d116db58553068677ba03f51fa9/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
# github.com/pquerna/cachecontrol/cacheobject
./directive_test.go:283:43: constant 9223372036854775807 overflows int
FAIL	github.com/pquerna/cachecontrol/cacheobject [build failed]

(I'm packaging for Fedora 28 and above. You can see the full build log at https://koji.fedoraproject.org/koji/taskinfo?taskID=27014801)

@pquerna
Copy link
Owner

pquerna commented May 17, 2018

Thanks for the issue report, can you try out master?

@eclipseo
Copy link
Author

Master works fine now. Thank you for the quick fix.

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