cmd/go: invalid flag in #cgo LDFLAGS: -zcommon-page-size=2097152 #50680
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
number_main.go

go build -buildmode=pie -ldflags='-v -linkmode=internal' number_main.go
What did you expect to see?
build successfully
What did you see instead?
go build command-line-arguments: invalid flag in #cgo LDFLAGS: -zcommon-page-size=2097152
The text was updated successfully, but these errors were encountered: