cmd/go: consider adding -Wl,-Bsymbolic-functions to cgo flags whitelist #41199
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
File issue accroding to https://github.com/golang/go/wiki/InvalidFlag
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?
(note that this code is not currently in public, but is available here:https://play.golang.org/p/1PSnYTv7aNG)
The libR.pc file specifies invalid flags as far as cgo is concerned.
What did you expect to see?
Successful build.
What did you see instead?
Obviously,
CGO_LDFLAGS_ALLOW="-Wl,-Bsymbolic-functions" go build
works.Additional information
The Intel notes for this flag have the following:
The text was updated successfully, but these errors were encountered: