sorry for earlier post issue resolved, somebody was overwriting at same
location.
On Thursday, August 31, 2017 at 4:17:37 AM UTC+5:30, rob wrote:
>
> Ubuntu 16.04 amd64
>
> I d/l the tar.gz file and followed the instructions to install it to
> /usr/local/go and set $PATH, $GOPATH, $GOBIN and $GOROOT.
>
> When I do go version, I get 1.9. But I cannot compile anything, not
> even hello.go
>
> The error is:
>
> # 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
>
>
> Compiling my code on windows 10 works fine with go 1.9, and it also
> works fine on a different Ubuntu 16.04 amd64 machine on which I
> installed go thru synaptic and have not modified that from 1.6.2
>
>
> What am I missing?
>
> Thanks,
>
> Rob Solomon
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.