agiledragon / agiledragon/gomonkey
Method:buildJmpDirective报未定义
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 192
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 1
Description
电脑os:mac m1
go版本:go1.17.9
goland版本:2021.3.4 apple silicon
go env如下:
GO111MODULE="on"
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/xxx/Library/Caches/go-build"
GOENV="/Users/xxx/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/xxx/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/xxx/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.17.9"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/xxx/go/src/cloudup-agentserver/go.mod"
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 arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/z9/15qdh_jj0b15k78q220l6g800000gn/T/go-build292941388=/tmp/go-build -gno-record-gcc-switches -fno-common"
报错如下:

求大神帮我解决,感觉是m1 兼容性的问题
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.