Skip to content

dgo doesn't support 32 bits #21

@mhyzon

Description

@mhyzon

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/dgo@v0.4.4/internal/array.go:49:27: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:51:31: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:64:30: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:119:21: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:155:2: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:224:11: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:280:29: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:308:72: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/array.go:533:48: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/internal/binary.go:33:44: constant 9223372036854775807 overflows int
../../go/pkg/mod/github.com/lyraproj/dgo@v0.4.4/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions