Look at the release notes, under 'Compiler Toolchain', about 20% scroll down the page. Try the compiler arguments provided and see if disabling the new compiler back-end ( -ssa=0 ) resolves this and report your results.
On Friday, July 8, 2016 at 4:08:31 AM UTC-5, Lucio wrote: > > This may be spurious, but I took a fresh clone/checkout of go1.7rc1 and > tried to build it using an arbitrary TIP (at the time) version of Go - one, > I'm sure, that was running on NetBSD before - and came up with odd errors. > It just happened to be the platform at hand at the time. > > I have just verified that I can build (make.bash) the RC using go1.4, but > not with the more recent TIP version: > > treacle$ /usr/local/go/bin/go version > go version devel +b2963a5 Sun Dec 6 06:28:33 2015 +0000 netbsd/386 > treacle$ /usr/local/go/bin/go env > GOARCH="386" > GOBIN="/home/lucio/bin" > GOEXE="" > GOHOSTARCH="386" > GOHOSTOS="netbsd" > GOOS="netbsd" > GOPATH="/home/lucio/Package" > GORACE="" > GOROOT="/usr/local/go" > GOTOOLDIR="/usr/local/go/pkg/tool/netbsd_386" > GO15VENDOREXPERIMENT="" > CC="gcc" > GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0" > CXX="g++" > CGO_ENABLED="1" > > treacle$ GOROOT_BOOTSTRAP=/usr/local/go GOBIN= ./make.bash > ##### Building Go bootstrap tool. > cmd/dist > # _/var/guest/go/go1.7/src/cmd/dist > main.install: runtime.growslice_n: not defined > main.install: runtime.growslice_n: not defined > main.dopack: runtime.typ2Itab: not defined > main.mkzosarch: runtime.typ2Itab: not defined > main.mkzosarch: runtime.typ2Itab: not defined > main.mkzosarch: runtime.typ2Itab: not defined > main.mkzcgo: runtime.typ2Itab: not defined > main.mkzcgo: runtime.typ2Itab: not defined > main.mkzcgo: runtime.typ2Itab: not defined > main.xflagparse: runtime.typ2Itab: not defined > main.(*tester).run: runtime.typ2Itab: not defined > main.(*tester).run: runtime.typ2Itab: not defined > main.(*tester).run: runtime.typ2Itab: not defined > main.(*tester).run: runtime.typ2Itab: not defined > main.(*tester).dirCmd: runtime.typ2Itab: not defined > main.(*tester).dirCmd: runtime.typ2Itab: not defined > main.(*tester).cgoTest: runtime.typ2Itab: not defined > main.(*tester).cgoTest: runtime.typ2Itab: not defined > main.(*tester).cgoTestSO: runtime.typ2Itab: not defined > main.run: runtime.typ2Itab: not defined > main.run: runtime.typ2Itab: not defined > /usr/local/go/pkg/tool/netbsd_386/link: too many errors > > > and, just in case it explains something: > > treacle$ CGO_ENABLED=0 GOROOT_BOOTSTRAP=/usr/local/go GOBIN= ./make.bash > ##### Building Go bootstrap tool. > cmd/dist > # _/var/guest/go/go1.7/src/cmd/dist > > ... produces the exact same outcome, at least to the naked eye. > > I hope this helps someone. > > Lucio. > > > On Friday, 8 July 2016 06:50:34 UTC+2, Chris Broadfoot wrote: >> >> Hello gophers, >> >> We have just released go1.7rc1, a release candidate for Go 1.7. >> It is cut from release-branch.go1.7 at the revision tagged go1.7rc1. >> >> Please help us by testing your Go programs with the release, and report >> any problems using the issue tracker: >> https://golang.org/issue/new >> >> You can download binary and source distributions from the usual place: >> >> https://golang.org/dl/#go1.7rc1 >> >> To find out what has changed in Go 1.7, read the draft release notes: >> https://tip.golang.org/doc/go1.7 >> >> Documentation for Go 1.7 is available at: >> https://tip.golang.org/ >> >> Cheers, >> Chris >> > -- 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.