You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gomobile: darwin-arm64: go build -tags ios -buildmode=c-archive -o /var/folders/sc/0b0pydt90bv3vn17vpz6029h0000gn/T/gomobile-work-029196412/hello-arm64.a ./gobind failed: exit status 1
go build runtime/cgo: invalid flag in go:cgo_ldflag: -fembed-bitcode
What did you expect to see?
I hope it can be compiled successfully, but cannot be compiled successfully now
What did you see instead?
The text was updated successfully, but these errors were encountered:
odeke-em
changed the title
gomobile bind reports an error and cannot be executed
x/mobile: cmd/gomobile bind reports an error and cannot be executed
Dec 11, 2020
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/q/Library/Caches/go-build" GOENV="/Users/q/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/q/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/q/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/go/1.15.5/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sc/0b0pydt90bv3vn17vpz6029h0000gn/T/go-build735052660=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
gomobile bind -target=ios hello
What did you expect to see?
I hope it can be compiled successfully, but cannot be compiled successfully now
What did you see instead?
The text was updated successfully, but these errors were encountered: