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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1440cf4c2b15
branches:  trunk
changeset: 351336:1440cf4c2b15
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Aug 19 09:38:06 2016 +0000

description:
Update Go to 1.7.

The latest Go release, version 1.7, arrives six months after 1.6. Most of its
changes are in the implementation of the toolchain, runtime, and libraries.
There is one minor change to the language specification. 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.

There is one tiny language change in this release. The section on terminating
statements clarifies that to determine whether a statement list ends in a
terminating statement, the ?final non-empty statement? is considered the end,
matching the existing behavior of the gc and gccgo compiler toolchains. In
earlier releases the definition referred only to the ?final statement,? leaving
the effect of trailing empty statements at the least unclear. The go/types
package has been updated to match the gc and gccgo compiler toolchains in this
respect. This change has no effect on the correctness of existing programs.

Go 1.7 adds support for macOS 10.12 Sierra. This support was backported to Go
1.6.3. Binaries built with versions of Go before 1.6.3 will not work correctly
on Sierra.

diffstat:

 lang/go/Makefile                        |    3 +-
 lang/go/PLIST                           |  940 +++++++++++++++++++++++++++----
 lang/go/distinfo                        |   11 +-
 lang/go/patches/patch-src_cmd_go_pkg.go |   15 -
 lang/go/version.mk                      |    4 +-
 5 files changed, 805 insertions(+), 168 deletions(-)

diffs (truncated from 2418 to 300 lines):

diff -r cc7a24853b5b -r 1440cf4c2b15 lang/go/Makefile
--- a/lang/go/Makefile  Fri Aug 19 09:34:46 2016 +0000
+++ b/lang/go/Makefile  Fri Aug 19 09:38:06 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2016/07/18 20:37:40 bsiegert Exp $
+# $NetBSD: Makefile,v 1.44 2016/08/19 09:38:06 bsiegert Exp $
 
 .include "version.mk"
 
@@ -31,6 +31,7 @@
 REPLACE_BASH+= misc/arm/a
 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
diff -r cc7a24853b5b -r 1440cf4c2b15 lang/go/PLIST
--- a/lang/go/PLIST     Fri Aug 19 09:34:46 2016 +0000
+++ b/lang/go/PLIST     Fri Aug 19 09:38:06 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2016/04/30 11:22:28 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.25 2016/08/19 09:38:06 bsiegert Exp $
 bin/go
 bin/gofmt
 go/AUTHORS
@@ -16,6 +16,7 @@
 go/api/go1.4.txt
 go/api/go1.5.txt
 go/api/go1.6.txt
+go/api/go1.7.txt
 go/api/go1.txt
 go/api/next.txt
 go/bin/go
@@ -78,6 +79,7 @@
 go/doc/go1.4.html
 go/doc/go1.5.html
 go/doc/go1.6.html
+go/doc/go1.7.html
 go/doc/go1.html
 go/doc/go1compat.html
 go/doc/go_faq.html
@@ -180,10 +182,18 @@
 go/misc/cgo/errors/issue13129.go
 go/misc/cgo/errors/issue13423.go
 go/misc/cgo/errors/issue13635.go
+go/misc/cgo/errors/issue13830.go
+go/misc/cgo/errors/issue14669.go
+go/misc/cgo/errors/issue16116.go
 go/misc/cgo/errors/issue7757.go
 go/misc/cgo/errors/issue8442.go
 go/misc/cgo/errors/ptr.go
 go/misc/cgo/errors/test.bash
+go/misc/cgo/fortran/answer.f90
+go/misc/cgo/fortran/fortran.go
+go/misc/cgo/fortran/fortran_test.go
+go/misc/cgo/fortran/helloworld/helloworld.f90
+go/misc/cgo/fortran/test.bash
 go/misc/cgo/gmp/fib.go
 go/misc/cgo/gmp/gmp.go
 go/misc/cgo/gmp/pi.go
@@ -214,6 +224,7 @@
 go/misc/cgo/test/callback_c_gccgo.c
 go/misc/cgo/test/cflags.go
 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_unix_test.go
 go/misc/cgo/test/cthread.go
@@ -234,6 +245,8 @@
 go/misc/cgo/test/issue1222.go
 go/misc/cgo/test/issue1328.go
 go/misc/cgo/test/issue13402.go
+go/misc/cgo/test/issue13930.go
+go/misc/cgo/test/issue14838.go
 go/misc/cgo/test/issue1560.go
 go/misc/cgo/test/issue1635.go
 go/misc/cgo/test/issue2462.go
@@ -305,7 +318,9 @@
 go/misc/cgo/test/issue9400/asm_amd64x.s
 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_ppc64x.s
+go/misc/cgo/test/issue9400/asm_s390x.s
 go/misc/cgo/test/issue9400/gccgo.go
 go/misc/cgo/test/issue9400/stubs.go
 go/misc/cgo/test/issue9400_linux.go
@@ -315,20 +330,22 @@
 go/misc/cgo/test/issue9557.go
 go/misc/cgo/test/setgid_linux.go
 go/misc/cgo/test/sigaltstack.go
-go/misc/cgo/test/sigprocmask_linux.c
-go/misc/cgo/test/sigprocmask_linux.go
-go/misc/cgo/test/sleep_windows_386.go
+go/misc/cgo/test/sigprocmask.c
+go/misc/cgo/test/sigprocmask.go
 go/misc/cgo/testasan/main.go
+go/misc/cgo/testcarchive/carchive_test.go
 go/misc/cgo/testcarchive/main.c
 go/misc/cgo/testcarchive/main2.c
 go/misc/cgo/testcarchive/main3.c
 go/misc/cgo/testcarchive/main4.c
+go/misc/cgo/testcarchive/main5.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/p/p.go
-go/misc/cgo/testcarchive/test.bash
 go/misc/cgo/testcshared/main0.c
 go/misc/cgo/testcshared/main1.c
 go/misc/cgo/testcshared/main2.c
@@ -353,14 +370,22 @@
 go/misc/cgo/testsanitizers/msan4.go
 go/misc/cgo/testsanitizers/msan_fail.go
 go/misc/cgo/testsanitizers/test.bash
+go/misc/cgo/testsanitizers/tsan.go
+go/misc/cgo/testsanitizers/tsan2.go
+go/misc/cgo/testsanitizers/tsan3.go
+go/misc/cgo/testsanitizers/tsan4.go
+go/misc/cgo/testsanitizers/tsan5.go
+go/misc/cgo/testsanitizers/tsan6.go
 go/misc/cgo/testshared/shared_test.go
-go/misc/cgo/testshared/src/dep/asm.s
-go/misc/cgo/testshared/src/dep/dep.go
-go/misc/cgo/testshared/src/dep/gccgo.go
-go/misc/cgo/testshared/src/dep/stubs.go
 go/misc/cgo/testshared/src/dep2/dep2.go
+go/misc/cgo/testshared/src/dep3/dep3.go
+go/misc/cgo/testshared/src/depBase/asm.s
+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/exe/exe.go
 go/misc/cgo/testshared/src/exe2/exe2.go
+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/implicit/implicit.go
@@ -429,27 +454,35 @@
 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
@@ -472,6 +505,7 @@
 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
@@ -480,6 +514,7 @@
 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
@@ -495,12 +530,15 @@
 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
@@ -508,6 +546,8 @@
 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
@@ -516,20 +556,27 @@
 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
@@ -539,9 +586,13 @@
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/init.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/inl.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/lex.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/lex_test.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/logic_test.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/magic.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/main.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/mkbuiltin.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/mparith2.go
-go/pkg/bootstrap/src/bootstrap/compile/internal/gc/mparith3.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/mpfloat.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/mpint.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/obj.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/opnames.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/order.go
@@ -556,12 +607,19 @@
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/reflect_test.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/reg.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/select.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/shift_test.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/sinit.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/sizeof_test.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/sparselocatephifunctions.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/ssa.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/ssa_test.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/subr.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/swt.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/swt_test.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/syntax.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/type.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/typecheck.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/gc/universe.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/unsafe.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/util.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/gc/walk.go
@@ -580,6 +638,82 @@
 go/pkg/bootstrap/src/bootstrap/compile/internal/ppc64/peep.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/ppc64/prog.go
 go/pkg/bootstrap/src/bootstrap/compile/internal/ppc64/reg.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/cgen.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/galign.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/ggen.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/gsubr.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/peep.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/prog.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/s390x/reg.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/TODO
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/block.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/check.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/checkbce.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/compile.go
+go/pkg/bootstrap/src/bootstrap/compile/internal/ssa/config.go



Home | Main Index | Thread Index | Old Index