Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

linux 下gf build 失败,但go build 能成功 #102

Open
wangfuhai2013 opened this issue Jul 2, 2021 · 0 comments
Open

linux 下gf build 失败,但go build 能成功 #102

wangfuhai2013 opened this issue Jul 2, 2021 · 0 comments

Comments

@wangfuhai2013
Copy link

wangfuhai2013 commented Jul 2, 2021

$ gf build main.go -a amd64 -s linux
2021-07-02 14:48:36.886 start building...
2021-07-02 14:48:36.887 go build -o ./bin/linux_amd64/main main.go
2021-07-02 14:48:37.356 failed to build, os:linux, arch:amd64
2021-07-02 14:48:37.356 done!

但 gf run能正常运行, go build也能正常编译

gf的版本v1.16.0 v1.16.4都是一样的结果, go的版本试过1.16.2、1.16.5 ,linux版本CentOS 7.7.1908

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

No branches or pull requests

1 participant