-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build: system linker warnings on macOS 10.15 when using cgo #41548
Comments
Changed this to an x/build issue since I believe this is an issue with the packaging. |
@gopherbot add OS-Darwin |
@sc0Vu Do you encounter the same error if you download and use the pkg from the golang site? |
Just chiming in, I encountered this same error after upgrading to go 1.15 with brew. Removing the version of go installed by brew and then installing the pkg from the golang site resolved my issue. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
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: