-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/link: ld warnings when upgrading to 1.9 on macOS #22281
Comments
The system linker was most likely always producing those warnings. The change from Go 1.8 to 1.9 is that in 1.8 the Go linker would hide any warnings from the system linker, whereas in Go 1.9 the warnings are shown. See #17935. I don't know why you are getting those warnings, though. |
I am experiencing the same issue on a OS X 10.10.5 system, after upgrading to Go1.9.2 |
I am now getting these warnings OS X 10.10.5 after upgrading to Go 1.10.0 |
I got this warning too on OSX Mojave 10.14 Beta after upgrading to golang 1.11. |
@iambudi You probably got hit by setting MACOSX_DEPLOYMENT_TARGET to <=10.9 in your project if you see |
Also seeing this after upgrading from 10.12 to 10.13.
Is this maybe related to some kind of cache that we can dump? |
@cagedmantis this can be closed; progress is being tracked on #36025 |
Closing this issue since the associated work is being tracked in #36025. |
What version of Go are you using (
go version
)?1.8.4 upgrading to 1.9.1
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/buchanae"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/kw/m6dz8snx7h33ppbkbllnqt48bkhsqx/T/go-build472819290=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
OSX 10.11.6
What did you do?
The text was updated successfully, but these errors were encountered: