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

Build failure on 32bit arch #38

Open
jpalus opened this issue Jul 15, 2021 · 1 comment
Open

Build failure on 32bit arch #38

jpalus opened this issue Jul 15, 2021 · 1 comment

Comments

@jpalus
Copy link

jpalus commented Jul 15, 2021

Build targeting 32bit x86 fails with:

./conn.go:2245:39: constant 86400000000 overflows int
./conn.go:2247:40: constant 86400000000 overflows int
./conn.go:2250:18: constant 86400000000 overflows int
./conn.go:2255:39: constant 3600000000 overflows int
./conn.go:2257:40: constant 3600000000 overflows int
./conn.go:2260:18: constant 3600000000 overflows int
./conn.go:2488:13: constant 86400000000 overflows int
./conn.go:2491:13: constant 86400000000 overflows int
./conn.go:2494:8: constant 86400000000 overflows int
pld-gitsync pushed a commit to pld-linux/usql that referenced this issue Jul 15, 2021
@mplpl
Copy link
Contributor

mplpl commented Oct 27, 2023

The same issue happens, after adding nzgo to telegraf (https://github.com/influxdata/telegraf).

/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2470:41: 86400000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2472:42: 86400000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2475:20: 86400000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2480:41: 3600000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2482:42: 3600000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2485:20: 3600000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2713:15: 86400000000 (untyped int constant) overflows int
/go/pkg/mod/github.com/!i!b!m/nzgo/[email protected]/conn.go:2716:15: 86400000000 (untyped int constant) overflows int

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