pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Update Go to 1.9.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1800921994c6
branches: trunk
changeset: 367502:1800921994c6
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Sep 03 07:12:07 2017 +0000
description:
Update Go to 1.9.
The latest Go release, version 1.9, arrives six months after Go 1.8 and
is the tenth release in the Go 1.x series. There are two changes to the
language: adding support for type aliases and defining when
implementations may fuse floating point operations. Most of the changes
are in the implementation of the toolchain, runtime, and libraries. As
always, the release maintains the Go 1 promise of compatibility. We
expect almost all Go programs to continue to compile and run as before.
The release adds transparent monotonic time support, parallelizes
compilation of functions within a package, better supports test helper
functions, includes a new bit manipulation package, and has a new
concurrent map type.
There are some instabilities on FreeBSD that are known but not
understood. These can lead to program crashes in rare cases. See issue
15658. Any help in solving this FreeBSD-specific issue would be
appreciated.
Go stopped running NetBSD builders during the Go 1.9 development cycle
due to NetBSD kernel crashes, up to and including NetBSD 7.1. As Go 1.9
is being released, NetBSD 7.1.1 is being released with a fix. However,
at this time we have no NetBSD builders passing our test suite. Any help
investigating the various NetBSD issues would be appreciated.
diffstat:
lang/go/Makefile | 4 +-
lang/go/PLIST | 896 +++++++++++++++++---
lang/go/distinfo | 15 +-
lang/go/patches/patch-lib_time_update.bash | 13 -
lang/go/patches/patch-src_crypto_x509_root__bsd.go | 8 +-
lang/go/patches/patch-src_runtime_mem__bsd.go | 35 -
lang/go/patches/patch-src_runtime_os__netbsd.go | 28 -
lang/go/version.mk | 4 +-
8 files changed, 761 insertions(+), 242 deletions(-)
diffs (truncated from 2429 to 300 lines):
diff -r a5a13537eb8f -r 1800921994c6 lang/go/Makefile
--- a/lang/go/Makefile Sun Sep 03 04:34:57 2017 +0000
+++ b/lang/go/Makefile Sun Sep 03 07:12:07 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2017/07/22 19:32:41 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2017/09/03 07:12:07 bsiegert Exp $
.include "version.mk"
@@ -32,6 +32,7 @@
REPLACE_BASH+= misc/benchcmp
REPLACE_BASH+= misc/cgo/errors/test.bash
REPLACE_BASH+= misc/cgo/fortran/test.bash
+REPLACE_BASH+= misc/cgo/testcarchive/test.bash
REPLACE_BASH+= misc/cgo/testcshared/test.bash
REPLACE_BASH+= misc/cgo/testgodefs/test.bash
REPLACE_BASH+= misc/cgo/testplugin/test.bash
@@ -44,6 +45,7 @@
REPLACE_BASH+= src/bootstrap.bash
REPLACE_BASH+= src/buildall.bash
REPLACE_BASH+= src/clean.bash
+REPLACE_BASH+= src/cmd/compile/internal/big/vendor.bash
REPLACE_BASH+= src/cmd/dist/mkdeps.bash
REPLACE_BASH+= src/cmd/go/mkalldocs.sh
REPLACE_BASH+= src/internal/trace/mkcanned.bash
diff -r a5a13537eb8f -r 1800921994c6 lang/go/PLIST
--- a/lang/go/PLIST Sun Sep 03 04:34:57 2017 +0000
+++ b/lang/go/PLIST Sun Sep 03 07:12:07 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2017/05/25 09:24:21 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.33 2017/09/03 07:12:07 bsiegert Exp $
bin/go
bin/gofmt
go/AUTHORS
@@ -18,6 +18,7 @@
go/api/go1.6.txt
go/api/go1.7.txt
go/api/go1.8.txt
+go/api/go1.9.txt
go/api/go1.txt
go/api/next.txt
go/bin/go
@@ -68,6 +69,11 @@
go/doc/devel/release.html
go/doc/devel/weekly.html
go/doc/docs.html
+go/doc/editors.html
+go/doc/editors/go-plus.png
+go/doc/editors/gogland.png
+go/doc/editors/vimgo.png
+go/doc/editors/vscodego.png
go/doc/effective_go.html
go/doc/gccgo_contribute.html
go/doc/gccgo_install.html
@@ -82,7 +88,7 @@
go/doc/go1.6.html
go/doc/go1.7.html
go/doc/go1.8.html
-go/doc/go1.8.txt
+go/doc/go1.9.html
go/doc/go1.html
go/doc/go1compat.html
go/doc/go_faq.html
@@ -190,6 +196,8 @@
go/misc/cgo/errors/issue14669.go
go/misc/cgo/errors/issue16116.go
go/misc/cgo/errors/issue16591.go
+go/misc/cgo/errors/issue18452.go
+go/misc/cgo/errors/issue18889.go
go/misc/cgo/errors/issue7757.go
go/misc/cgo/errors/issue8442.go
go/misc/cgo/errors/malloc.go
@@ -262,6 +270,11 @@
go/misc/cgo/test/issue17537.go
go/misc/cgo/test/issue18126.go
go/misc/cgo/test/issue18146.go
+go/misc/cgo/test/issue18720.go
+go/misc/cgo/test/issue20129.go
+go/misc/cgo/test/issue20266.go
+go/misc/cgo/test/issue20266/issue20266.h
+go/misc/cgo/test/issue20369.go
go/misc/cgo/test/issue2462.go
go/misc/cgo/test/issue3250.go
go/misc/cgo/test/issue3250w.go
@@ -355,12 +368,14 @@
go/misc/cgo/testcarchive/main3.c
go/misc/cgo/testcarchive/main4.c
go/misc/cgo/testcarchive/main5.c
+go/misc/cgo/testcarchive/main6.c
go/misc/cgo/testcarchive/main_unix.c
go/misc/cgo/testcarchive/main_windows.c
go/misc/cgo/testcarchive/src/libgo/libgo.go
go/misc/cgo/testcarchive/src/libgo2/libgo2.go
go/misc/cgo/testcarchive/src/libgo3/libgo3.go
go/misc/cgo/testcarchive/src/libgo4/libgo4.go
+go/misc/cgo/testcarchive/src/libgo6/sigprof.go
go/misc/cgo/testcarchive/src/p/p.go
go/misc/cgo/testcshared/main0.c
go/misc/cgo/testcshared/main1.c
@@ -391,6 +406,8 @@
go/misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/definition.go
go/misc/cgo/testplugin/src/issue18676/main.go
go/misc/cgo/testplugin/src/issue18676/plugin.go
+go/misc/cgo/testplugin/src/issue19534/main.go
+go/misc/cgo/testplugin/src/issue19534/plugin.go
go/misc/cgo/testplugin/src/plugin1/plugin1.go
go/misc/cgo/testplugin/src/plugin2/plugin2.go
go/misc/cgo/testplugin/src/sub/plugin1/plugin1.go
@@ -406,6 +423,9 @@
go/misc/cgo/testsanitizers/msan_shared.go
go/misc/cgo/testsanitizers/test.bash
go/misc/cgo/testsanitizers/tsan.go
+go/misc/cgo/testsanitizers/tsan10.go
+go/misc/cgo/testsanitizers/tsan11.go
+go/misc/cgo/testsanitizers/tsan12.go
go/misc/cgo/testsanitizers/tsan2.go
go/misc/cgo/testsanitizers/tsan3.go
go/misc/cgo/testsanitizers/tsan4.go
@@ -414,6 +434,7 @@
go/misc/cgo/testsanitizers/tsan7.go
go/misc/cgo/testsanitizers/tsan8.go
go/misc/cgo/testsanitizers/tsan9.go
+go/misc/cgo/testsanitizers/tsan_shared.go
go/misc/cgo/testshared/shared_test.go
go/misc/cgo/testshared/src/dep2/dep2.go
go/misc/cgo/testshared/src/dep3/dep3.go
@@ -421,6 +442,7 @@
go/misc/cgo/testshared/src/depBase/dep.go
go/misc/cgo/testshared/src/depBase/gccgo.go
go/misc/cgo/testshared/src/depBase/stubs.go
+go/misc/cgo/testshared/src/division/division.go
go/misc/cgo/testshared/src/exe/exe.go
go/misc/cgo/testshared/src/exe2/exe2.go
go/misc/cgo/testshared/src/exe3/exe3.go
@@ -499,6 +521,7 @@
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/compile/internal/s390x.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/compile/internal/ssa.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/compile/internal/syntax.a
+go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/compile/internal/types.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/compile/internal/x86.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/bio.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/dwarf.a
@@ -510,6 +533,8 @@
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/obj/ppc64.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/obj/s390x.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/obj/x86.a
+go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/objabi.a
+go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/src.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/internal/sys.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/link/internal/amd64.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/link/internal/arm.a
@@ -522,6 +547,7 @@
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/cmd/link/internal/x86.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/debug/pe.a
go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/math/big.a
+go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/math/bits.a
go/pkg/bootstrap/src/bootstrap/cmd/asm/doc.go
go/pkg/bootstrap/src/bootstrap/cmd/asm/internal/arch/amd64.go
go/pkg/bootstrap/src/bootstrap/cmd/asm/internal/arch/arch.go
@@ -548,24 +574,24 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/fmt_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/amd64/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/amd64/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/amd64/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/amd64/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm64/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm64/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm64/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/arm64/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/alg.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/align.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/asm_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/bexport.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/bimport.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/bitset.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/bootstrap.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/builtin.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/builtin_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/bv.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/class_string.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/closure.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/const.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/constFold_test.go
@@ -585,12 +611,12 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/lex.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/lex_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/logic_test.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/magic.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/main.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/mkbuiltin.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/mpfloat.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/mpint.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/noder.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/norace.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/obj.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/opnames.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/order.go
@@ -598,10 +624,15 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/pgen_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/phi.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/plive.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/pprof.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/race.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/racewalk.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/range.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/reflect.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/reflect_test.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/reproduciblebuilds_test.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/scope.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/scope_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/select.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/shift_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/sinit.go
@@ -614,31 +645,30 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/syntax.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/timings.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/trace.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/type.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/truncconst_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/typecheck.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/types.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/types_acc.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/universe.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/unsafe.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/util.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/gc/walk.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips64/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips64/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips64/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/mips64/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ppc64/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ppc64/ggen.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ppc64/opt.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ppc64/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ppc64/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/s390x/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/s390x/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/s390x/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/s390x/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/TODO
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/block.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/cache.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/check.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/checkbce.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/compile.go
@@ -671,8 +701,10 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/loop_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/loopbce.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/loopreschedchecks.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/looprotate.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/lower.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/magic.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/magic_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/nilcheck.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/nilcheck_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/op.go
@@ -714,15 +746,15 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/stackframe.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/tighten.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/trim.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/type.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/type_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/value.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/writebarrier.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/writebarrier_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/ssa/zcse.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/branches.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/dumper.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/dumper_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/nodes.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/nodes_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/parser.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/parser_test.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/printer.go
@@ -732,16 +764,22 @@
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/source.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/syntax.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/syntax/tokens.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/pkg.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/scope.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/sizeof_test.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/sym.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/type.go
+go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/types/utils.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/x86/387.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/x86/galign.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/x86/ggen.go
-go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/x86/prog.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/internal/x86/ssa.go
go/pkg/bootstrap/src/bootstrap/cmd/compile/main.go
go/pkg/bootstrap/src/bootstrap/cmd/internal/bio/buf.go
go/pkg/bootstrap/src/bootstrap/cmd/internal/bio/must.go
Home |
Main Index |
Thread Index |
Old Index