Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: *** [build] 错误 2 怎么解决 #138

Open
qq940390 opened this issue Sep 2, 2020 · 0 comments
Open

make: *** [build] 错误 2 怎么解决 #138

qq940390 opened this issue Sep 2, 2020 · 0 comments

Comments

@qq940390
Copy link

qq940390 commented Sep 2, 2020

clean start >>>
rm -fr ./output
rm -f syncd_bin

clean complete
build syncd start >>>
GOPROXY=https://goproxy.io go mod tidy
go build -o syncd_bin ./syncd/main.go

runtime/internal/atomic

/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:13:6: Load redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:16:24
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:19:6: Loadp redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:22:32
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:25:6: Load64 redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:28:26
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:30:6: Xadd redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:39:37
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:33:6: Xadd64 redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:42:39
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:36:6: Xadduintptr redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:45:47
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:39:6: Xchg redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:48:36
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:42:6: Xchg64 redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:51:38
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:45:6: Xchguintptr redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:54:45
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:48:6: And8 redeclared in this block
previous declaration at /webserv/go/src/runtime/internal/atomic/atomic_amd64.go:63:27
/webserv/go/src/runtime/internal/atomic/atomic_amd64x.go:48:6: too many errors
make: *** [build] 错误 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant