Golan: Error while executing test: signal: killed
2 answers
UPDATE as of 04/27/2012:
New Go1.8.1 (released on 2017/04/07) fixed this issue. Download and install the latest version.
OLD ANSWER:
The main reason is that Command Line Tool 8.3 is incompatible.
As per the solutions at https://github.com/golang/go/issues/19734 :
- First uninstall
/Library/Developer/CommandLineTools
, download and install Command Line Tool 8.2 from https://developer.apple.com/download/more/?name=Xcode
OR
- use
-ldflags -s
to compile or run
+7
source to share