go-aah / aah

A secure, flexible, rapid Go web framework
https://aahframework.org
MIT License
691 stars 33 forks source link

error when go get aah #196

Closed Arbio5zt closed 6 years ago

Arbio5zt commented 6 years ago

root@testNet:~# go version go version go1.9.4 linux/amd64 root@testNet:~# go get -u aahframework.org/tools.v0/aah

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; schedtrace int32 } has no field or method gcstackbarrieroff) /usr/local/go/src/runtime/mstkbar.go:162:24: division by zero /usr/local/go/src/runtime/mstkbar.go:162:43: invalid expression unsafe.Sizeof(composite literal) /usr/local/go/src/runtime/mstkbar.go:162:44: undefined: stkbar /usr/local/go/src/runtime/mstkbar.go:212:4: gp.stkbar undefined (type g has no field or method stkbar) /usr/local/go/src/runtime/mstkbar.go:213:15: gp.stkbar undefined (type g has no field or method stkbar) /usr/local/go/src/runtime/mstkbar.go:216:23: undefined: stackBarrierPC /usr/local/go/src/runtime/mstkbar.go:226:28: gp.stkbarPos undefined (type g has no field or method stkbarPos) /usr/local/go/src/runtime/mstkbar.go:227:19: gp.stkbarPos undefined (type g has no field or method stkbarPos) /usr/local/go/src/runtime/mstkbar.go:248:41: undefined: stkbar /usr/local/go/src/runtime/mstkbar.go:227:19: too many errors

jeevatkm commented 6 years ago

@luodanwg it seems like connectivity issue.

Following steps are to test whether its connectivity issue or not. Can you try and share the results?

jeevatkm commented 6 years ago

@luodanwg I have just searched around -

runtime/mstkbar.go:151:10: debug.gcstackbarrieroff undefined

Its seems like your machine might have go installation issue. Can you please check this link https://stackoverflow.com/a/46009259

jeevatkm commented 6 years ago

@luodanwg any updates?

jeevatkm commented 6 years ago

I believe you might have sorted out Go installation, I'm closing it. Thanks.

Arbio5zt commented 6 years ago

thanks a lot, after update my golang version, it's ok now.

jeevatkm commented 6 years ago

Happy to hear.