cmd/compile: windows/amd64 invalid binary when allocating array near symbol size limit #54564
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://go.dev/play/p/x7RM0aBCBYz:
Create this locally as foo.go, Then
go run foo.go
What did you expect to see?
Successful execution
What did you see instead?
Binary search testing different numbers of bytes shows the code works up to 1995296640 bytes, produces the above error for 1995296641-2000000000, and produces
symbol too large
errors above that.The text was updated successfully, but these errors were encountered: