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.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f05df331708
branches:  trunk
changeset: 359662:2f05df331708
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Mar 15 19:38:09 2017 +0000

description:
Update Go to 1.8.

The compiler back end introduced in Go 1.7 for 64-bit x86 is now used on all
architectures, and those architectures should see significant performance
improvements. For instance, the CPU time required by our benchmark programs was
reduced by 20-30% on 32-bit ARM systems. There are also some modest performance
improvements in this release for 64-bit x86 systems. The compiler and linker
have been made faster. Compile times should be improved by about 15% over Go
1.7. There is still more work to be done in this area: expect faster
compilation speeds in future releases.

Garbage collection pauses should be significantly shorter, usually under 100
microseconds and often as low as 10 microseconds.

The HTTP server adds support for HTTP/2 Push, allowing servers to preemptively
send responses to a client. This is useful for minimizing network latency by
eliminating roundtrips. The HTTP server also adds support for graceful
shutdown, allowing servers to minimize downtime by shutting down only after
serving all requests that are in flight.

Contexts (added to the standard library in Go 1.7) provide a cancelation and
timeout mechanism. Go 1.8 adds support for contexts in more parts of the
standard library, including the database/sql and net packages and
Server.Shutdown in the net/http package.

Go 1.8 includes many more additions, improvements, and fixes. Find the complete
set of changes, and more information about the improvements listed above, in
the Go 1.8 release notes: https://golang.org/doc/go1.8

diffstat:

 lang/go/Makefile                           |     5 +-
 lang/go/PLIST                              |  1696 ++++++++++++++++++---------
 lang/go/distinfo                           |    12 +-
 lang/go/patches/patch-lib_time_update.bash |     6 +-
 lang/go/version.mk                         |     4 +-
 5 files changed, 1144 insertions(+), 579 deletions(-)

diffs (truncated from 3408 to 300 lines):

diff -r 05bd3658f60c -r 2f05df331708 lang/go/Makefile
--- a/lang/go/Makefile  Wed Mar 15 18:53:04 2017 +0000
+++ b/lang/go/Makefile  Wed Mar 15 19:38:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2016/10/27 18:58:00 bsiegert Exp $
+# $NetBSD: Makefile,v 1.49 2017/03/15 19:38:09 bsiegert Exp $
 
 .include "version.mk"
 
@@ -32,8 +32,10 @@
 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
 REPLACE_BASH+= misc/cgo/testsanitizers/test.bash
 REPLACE_BASH+= misc/nacl/go_nacl_386_exec
 REPLACE_BASH+= misc/nacl/go_nacl_amd64p32_exec
@@ -46,6 +48,7 @@
 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
 REPLACE_BASH+= src/iostest.bash
 REPLACE_BASH+= src/make.bash
 REPLACE_BASH+= src/naclmake.bash
diff -r 05bd3658f60c -r 2f05df331708 lang/go/PLIST
--- a/lang/go/PLIST     Wed Mar 15 18:53:04 2017 +0000
+++ b/lang/go/PLIST     Wed Mar 15 19:38:09 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2017/01/30 03:04:53 wen Exp $
+@comment $NetBSD: PLIST,v 1.30 2017/03/15 19:38:09 bsiegert Exp $
 bin/go
 bin/gofmt
 go/AUTHORS
@@ -17,6 +17,7 @@
 go/api/go1.5.txt
 go/api/go1.6.txt
 go/api/go1.7.txt
+go/api/go1.8.txt
 go/api/go1.txt
 go/api/next.txt
 go/bin/go
@@ -80,6 +81,8 @@
 go/doc/go1.5.html
 go/doc/go1.6.html
 go/doc/go1.7.html
+go/doc/go1.8.html
+go/doc/go1.8.txt
 go/doc/go1.html
 go/doc/go1compat.html
 go/doc/go_faq.html
@@ -186,8 +189,10 @@
 go/misc/cgo/errors/issue13830.go
 go/misc/cgo/errors/issue14669.go
 go/misc/cgo/errors/issue16116.go
+go/misc/cgo/errors/issue16591.go
 go/misc/cgo/errors/issue7757.go
 go/misc/cgo/errors/issue8442.go
+go/misc/cgo/errors/malloc.go
 go/misc/cgo/errors/ptr.go
 go/misc/cgo/errors/test.bash
 go/misc/cgo/fortran/answer.f90
@@ -227,7 +232,10 @@
 go/misc/cgo/test/cgo_linux_test.go
 go/misc/cgo/test/cgo_stubs_android_test.go
 go/misc/cgo/test/cgo_test.go
+go/misc/cgo/test/cgo_thread_lock.go
 go/misc/cgo/test/cgo_unix_test.go
+go/misc/cgo/test/checkconst.go
+go/misc/cgo/test/complex.go
 go/misc/cgo/test/cthread.go
 go/misc/cgo/test/cthread_unix.c
 go/misc/cgo/test/cthread_windows.c
@@ -250,6 +258,10 @@
 go/misc/cgo/test/issue14838.go
 go/misc/cgo/test/issue1560.go
 go/misc/cgo/test/issue1635.go
+go/misc/cgo/test/issue17065.go
+go/misc/cgo/test/issue17537.go
+go/misc/cgo/test/issue18126.go
+go/misc/cgo/test/issue18146.go
 go/misc/cgo/test/issue2462.go
 go/misc/cgo/test/issue3250.go
 go/misc/cgo/test/issue3250w.go
@@ -307,6 +319,8 @@
 go/misc/cgo/test/issue8517_windows.c
 go/misc/cgo/test/issue8517_windows.go
 go/misc/cgo/test/issue8694.go
+go/misc/cgo/test/issue8756.go
+go/misc/cgo/test/issue8756/issue8756.go
 go/misc/cgo/test/issue8811.c
 go/misc/cgo/test/issue8811.go
 go/misc/cgo/test/issue8828.go
@@ -320,6 +334,7 @@
 go/misc/cgo/test/issue9400/asm_arm.s
 go/misc/cgo/test/issue9400/asm_arm64.s
 go/misc/cgo/test/issue9400/asm_mips64x.s
+go/misc/cgo/test/issue9400/asm_mipsx.s
 go/misc/cgo/test/issue9400/asm_ppc64x.s
 go/misc/cgo/test/issue9400/asm_s390x.s
 go/misc/cgo/test/issue9400/gccgo.go
@@ -365,11 +380,30 @@
 go/misc/cgo/testgodefs/issue8478.go
 go/misc/cgo/testgodefs/main.go
 go/misc/cgo/testgodefs/test.bash
+go/misc/cgo/testplugin/altpath/src/common/common.go
+go/misc/cgo/testplugin/altpath/src/plugin-mismatch/main.go
+go/misc/cgo/testplugin/src/common/common.go
+go/misc/cgo/testplugin/src/host/host.go
+go/misc/cgo/testplugin/src/iface/main.go
+go/misc/cgo/testplugin/src/iface_a/a.go
+go/misc/cgo/testplugin/src/iface_b/b.go
+go/misc/cgo/testplugin/src/iface_i/i.go
+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/plugin1/plugin1.go
+go/misc/cgo/testplugin/src/plugin2/plugin2.go
+go/misc/cgo/testplugin/src/sub/plugin1/plugin1.go
+go/misc/cgo/testplugin/test.bash
+go/misc/cgo/testplugin/unnamed1.go
+go/misc/cgo/testplugin/unnamed2.go
 go/misc/cgo/testsanitizers/msan.go
 go/misc/cgo/testsanitizers/msan2.go
 go/misc/cgo/testsanitizers/msan3.go
 go/misc/cgo/testsanitizers/msan4.go
+go/misc/cgo/testsanitizers/msan5.go
 go/misc/cgo/testsanitizers/msan_fail.go
+go/misc/cgo/testsanitizers/msan_shared.go
 go/misc/cgo/testsanitizers/test.bash
 go/misc/cgo/testsanitizers/tsan.go
 go/misc/cgo/testsanitizers/tsan2.go
@@ -377,6 +411,9 @@
 go/misc/cgo/testsanitizers/tsan4.go
 go/misc/cgo/testsanitizers/tsan5.go
 go/misc/cgo/testsanitizers/tsan6.go
+go/misc/cgo/testsanitizers/tsan7.go
+go/misc/cgo/testsanitizers/tsan8.go
+go/misc/cgo/testsanitizers/tsan9.go
 go/misc/cgo/testshared/shared_test.go
 go/misc/cgo/testshared/src/dep2/dep2.go
 go/misc/cgo/testshared/src/dep3/dep3.go
@@ -389,6 +426,10 @@
 go/misc/cgo/testshared/src/exe3/exe3.go
 go/misc/cgo/testshared/src/execgo/exe.go
 go/misc/cgo/testshared/src/explicit/explicit.go
+go/misc/cgo/testshared/src/iface/main.go
+go/misc/cgo/testshared/src/iface_a/a.go
+go/misc/cgo/testshared/src/iface_b/b.go
+go/misc/cgo/testshared/src/iface_i/i.go
 go/misc/cgo/testshared/src/implicit/implicit.go
 go/misc/cgo/testshared/src/implicitcmd/implicitcmd.go
 go/misc/cgo/testshared/src/trivial/trivial.go
@@ -444,394 +485,437 @@
 go/pkg/bootstrap/bin/asm
 go/pkg/bootstrap/bin/compile
 go/pkg/bootstrap/bin/link
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/asm/internal/arch.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/asm/internal/asm.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/asm/internal/flags.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/asm/internal/lex.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/amd64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/arm.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/arm64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/big.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/gc.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/mips64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/ppc64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/s390x.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/ssa.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/compile/internal/x86.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/bio.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/gcprog.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/arm.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/arm64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/mips.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/ppc64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/s390x.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/obj/x86.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/internal/sys.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/amd64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/arm.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/arm64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/ld.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/mips64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/ppc64.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/s390x.a
-go/pkg/bootstrap/pkg/${GO_PLATFORM}/bootstrap/link/internal/x86.a
-go/pkg/bootstrap/src/bootstrap/asm/doc.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/amd64.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/arch.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/arm.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/arm64.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/mips64.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/ppc64.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/arch/s390x.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/asm.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/endtoend_test.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/expr_test.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/operand_test.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/parse.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/asm/pseudo_test.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/flags/flags.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/input.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/lex.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/lex_test.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/slice.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/stack.go
-go/pkg/bootstrap/src/bootstrap/asm/internal/lex/tokenizer.go
-go/pkg/bootstrap/src/bootstrap/asm/main.go
-go/pkg/bootstrap/src/bootstrap/compile/doc.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/cgen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/galign.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/ggen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/gsubr.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/peep.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/prog.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/reg.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/amd64/ssa.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/cgen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/cgen64.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/galign.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/ggen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/gsubr.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/peep.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/prog.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/reg.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm/ssa.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/cgen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/galign.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/ggen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/gsubr.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/peep.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/prog.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/arm64/reg.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/accuracy_string.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/arith.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/arith_decl.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/arith_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/bits_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/calibrate_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/decimal.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/decimal_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/example_rat_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/example_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/float.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/float_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/floatconv.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/floatconv_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/floatexample_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/floatmarsh.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/floatmarsh_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/ftoa.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/gcd_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/hilbert_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/int.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/int_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/intconv.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/intconv_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/intmarsh.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/intmarsh_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/nat.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/nat_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/natconv.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/natconv_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/rat.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/rat_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/ratconv.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/ratconv_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/ratmarsh.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/ratmarsh_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/roundingmode_string.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/big/vendor.bash
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/alg.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/align.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/asm_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/bexport.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/bimport.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/builtin.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/builtin_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/bv.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/cgen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/closure.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/const.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/constFold_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/cplx.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/dcl.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/esc.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/export.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/fixedbugs_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/float_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/fmt.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/gen.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/global_test.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/go.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/gsubr.go



Home | Main Index | Thread Index | Old Index