go get error:gcc_darwin_amd64.c:62:15: error: unknown token in expression
bifenglin opened this issue · comments
my go version is
go version go1.15.15 darwin/amd64
when i use
go get github.com/etcd-io/zetcd/cmd/zetcd
and it's shows below
(gs) bifenglin@bifenglindeMacBook-Pro GraphScope % go get github.com/etcd-io/zetcd/cmd/zetcd
# runtime/cgo
gcc_darwin_amd64.c:62:15: error: unknown token in expression
<inline asm>:1:12: note: instantiated into assembly here
gcc_darwin_amd64.c:62:15: error: invalid operand
<inline asm>:1:12: note: instantiated into assembly here
It's M1 mac system.
fixed by update the go version