Re: [go-nuts] go1.9: problem with go get

2017-09-01 Thread Andreas Briese
Thx

i uninstalled 1.9, reinstalled 1.8.3 and the error persisted.
In the turned out, chromeos needed a bootstrap installation (using crew
install).

all the best
Andreas



On 1 September 2017 at 02:34, Ian Lance Taylor  wrote:

> On Thu, Aug 31, 2017 at 12:51 PM, abriese  wrote:
> > ~/Download/ $ go build github.com/AndreasBriese/breeze
> > # 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
> >
> > Did not really know, what's going wrong here. Never got build errors with
> > this package before.
>
> mstkbar.go does not exist in Go 1.9, so something has gone wrong with
> your upgrade from Go 1.8.  You can't simply unpack 1.9 over 1.8, so
> you must unpack 1.9 in an empty directory.
>
> Ian
>

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] go1.9: problem with go get

2017-08-31 Thread Ian Lance Taylor
On Thu, Aug 31, 2017 at 12:51 PM, abriese  wrote:
> ~/Download/ $ go build github.com/AndreasBriese/breeze
> # 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
>
> Did not really know, what's going wrong here. Never got build errors with
> this package before.

mstkbar.go does not exist in Go 1.9, so something has gone wrong with
your upgrade from Go 1.8.  You can't simply unpack 1.9 over 1.8, so
you must unpack 1.9 in an empty directory.

Ian

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] go1.9: problem with go get

2017-08-31 Thread abriese
~/Download/ $ go build github.com/AndreasBriese/breeze
# 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

Did not really know, what's going wrong here. Never got build errors with 
this package before.

Best 
Andreas

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.