Closed as not planned
Closed as not planned
Description
What version of Go are you using (go version
)?
$ go version go version go1.19.1 darwin/amd64go
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/guohongjun/Library/Caches/go-build" GOENV="/Users/guohongjun/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/guohongjun/Documents/MyCodes/mygocodes/pkg/mod" GONOPROXY="dianpingoa.com" GONOSUMDB="dianpingoa.com" GOOS="darwin" GOPATH="/Users/guohongjun/Documents/MyCodes/mygocodes" GOPRIVATE="dianpingoa.com" GOPROXY="https://goproxy.cn" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GOVCS="" GOVERSION="go1.19.1" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/guohongjun/Documents/MyCodes/sankuaigocodes/src/sankuai/go.mod" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/hp/_v5x9cvd5fvf_0k3q00t9_7h0000gp/T/go-build3638380680=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
macOS Monterey 12.6
Xcode Version 14.0 (14A309)
% go build # sankuai/zcm/daily ld: warning: -no_pie is deprecated when targeting new OS versions