etcd-io / zetcd

Serve the Apache Zookeeper API but back it with an etcd cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go get error:gcc_darwin_amd64.c:62:15: error: unknown token in expression

bifenglin opened this issue · comments

commented

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.

commented

fixed by update the go version