go build fails : runtime/mstkbar.go:151:10: debug.gcstackbarrieroff undefined
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This code compiled OK using prior release of golang (1.8.3) however fails to compile after upgrading to new golang (1.9) ~/src/gopath/src/github.com/scottstensland/infosynth $ go build infosynth.go # runtime /usr/local/go/src/runtime/mstkbar.go:151:10: debug.gcstackbarrieroff undefined (type struct { allocfreetrace int32; cgocheck int32; efence int32; gccheckmark int32; gcpacertrace int32; gcshrinkstackoff int32; gcrescanstacks int32; gcstoptheworld int32; gctrace int32; invalidptr int32; sbrk int32; scavenge int32; scheddetail int32;