How to debug these issues?
$ cd /usr/local/go/src
$ ./all.bash
...
ok cmd/vet 2.859s
ok cmd/vet/internal/cfg 0.012s
2017/08/07 15:19:58 Failed: exit status 1
The same thing happens either with the HEAD branch or go1.9rc2
(and also earlier). In addition go1.9rc2 has this failure:
ok crypto/tls 0.453s
--- FAIL: TestSystemRoots (0.57s)
root_darwin_test.go:31: cgo sys roots: 67.37748ms
root_darwin_test.go:32: non-cgo sys roots: 498.322315ms
root_darwin_test.go:44: got 168 roots
root_darwin_test.go:44: got 420 roots
root_darwin_test.go:73: insufficient overlap between cgo and non-cgo
roots; want at least 210, have 168
FAIL
FAIL crypto/x509 1.461s
FYI:
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/bakul/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments
-fmessage-length=0
-fdebug-prefix-map=/var/folders/h_/8gwgdzhx4bz92b3hybwgz5340000gn/T/go-build152554474=/tmp/go-build
-gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
$ uname -a
Darwin mob.bitblocks.com 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15
17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
$ git cat-file -p HEAD
tree e22f8125b5061144ea4a7e6bb958a149bfa09816
parent cff0de3da338f8aa4682253a9cc045bd70a8c9c4
author Chris Broadfoot <[email protected]> 1502133786 -0700
committer Chris Broadfoot <[email protected]> 1502137741 +0000
[release-branch.go1.9] go1.9rc2
$ git cat-file -p master
tree 0c3db3ff24ad5a0b45c5e34e0747eefd3d09ebec
parent 380525598ca917fe3226842f91695f4851b34e89
author Keith Randall <[email protected]> 1501952321 -0700
committer Keith Randall <[email protected]> 1502087082 +0000
runtime: mapassign_* should use typedmemmove to update keys
We need to make sure that when the key contains a pointer, we use
a write barrier to update the key.
Also mapdelete_* should use typedmemclr.
Fixes #21297
Thanks!
--
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.