x/build: system linker warnings on macOS 10.15 when using cgo #41548
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
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
)?Does this issue reproduce with the latest release?
Yes.
It seems this issue is related to #36025.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Recently I upgraded golang from 1.14.4 to 1.15.2 with
brew upgrade go
.After I upgraded, there are couple of warnings when I build our client, which we use cgo because of using openssl library, the source code: https://github.com/diodechain/diode_go_client/.
What did you expect to see?
No output on stdout/stderr.
This output was not shown with my system using go 1.14.4
What did you see instead?
When running the run command, or the go build command, I have the following output:
I can remove these warning with the
CGO_CFLAGS=-mmacosx-version-min=10.12
(found in this commit: https://go-review.googlesource.com/c/build/+/216304/5/cmd/release/release.go#367)The text was updated successfully, but these errors were encountered: