constant overflows int on GO for Windows
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
Status: Downloaded newer image for docker.elastic.co/beats-dev/golang-crossbuild:1.15.9-arm
>> Building using: cmd='build/mage-linux-amd64 golangCrossBuild', env=[CC=aarch64-linux-gnu-gcc, CXX=aarch64-linux-gnu-g++, GOARCH=arm64, GOARM=, GOOS=linux, PLATFORM_ID=linux-arm64] # github.com/linkedin/goavro
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/array.go:48:34: constant -9223372036854775808 overflows int
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/array.go:86:35: constant -9223372036854775808 overflows int
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/binaryReader.go:96:27: constant -9223372036854775808 overflows int
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/binaryReader.go:144:28: constant -9223372036854775808 overflows int
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/map.go:50:34: constant -9223372036854775808 overflows int
/go/pkg/mod/github.com/linkedin/goavro@v2.1.0+incompatible/map.go:97:35: constant -9223372036854775808 overflows int
Error: running "go build -o build/golang-crossbuild/filebeat-windows-386.exe -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-05-19T13:50:32Z -X github.com/elastic/beats/v7/libbeat/version.commit=651a2ad1225f3d4420a22eba847de385b71f711d" failed with exit code 2
See also : https://github.com/golang/go/issues/23086
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Windows 386 build and review the reported failures in github.com/linkedin/goavro v2.1.0, especially array.go, binaryReader.go, and map.go. Compare the failing integer constants with the Go issue linked in the report; done means the Windows 386 build completes without the constant-overflow errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100