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

dgo doesn't support 32 bits #21

Open
mhyzon opened this issue Jan 12, 2021 · 0 comments
Open

dgo doesn't support 32 bits #21

mhyzon opened this issue Jan 12, 2021 · 0 comments

Comments

@mhyzon
Copy link

mhyzon commented Jan 12, 2021

We're not using dgo directly (we're using lyraproject/hiera). It seems like dgo will fail to build for 32bit architectures.

For both GOARCH=386 GOOS=darwin go build or GOARCH=386 GOOS=linux go build, we get the following errors:

github.com/lyraproj/dgo/internal
# github.com/lyraproj/dgo/internal
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:49:27: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:51:31: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:64:30: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:119:21: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:155:2: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:224:11: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:280:29: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:308:72: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:533:48: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/binary.go:33:44: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/[email protected]/internal/array.go:533:48: too many errors

32bit isn't important for us, we can do without. But I figure I'd open an issue if it's an easy fix or if anyone else runs into it.

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

1 participant