Monday, April 25, 2022

Update to go-1.18.1

Hi,

go1.18.1 was tagged shortly after 1.18.

> go1.18.1 (released 2022-04-12) includes security fixes to the
> crypto/elliptic, crypto/x509, and encoding/pem packages, as well as
> bug fixes to the compiler, linker, runtime, the go command, vet, and
> the bytes, crypto/x509, and go/types packages. See the Go 1.18.1
> milestone on our issue tracker for details.
https://github.com/golang/go/issues?q=milestone%3AGo1.18.1+label%3ACherryPickApproved

Or more precisely:
$ git log go1.18..go1.18.1 --oneline
0b0d2fe66d (tag: go1.18.1) [release-branch.go1.18] go1.18.1
84264fceca [release-branch.go1.18] encoding/pem: fix stack overflow in Decode
9535031e32 [release-branch.go1.18] go/types: don't report errors for untyped int shifts on Go < 1.13
2097b2d51b [release-branch.go1.18] go/types, types2: fix overlap test for union termlist
c9b9a010eb [release-branch.go1.18] crypto/elliptic: tolerate zero-padded scalars in generic P-256
f92bfa440f [release-branch.go1.18] cmd/go: prevent panic in go work use
abb3f05524 [release-branch.go1.18] crypto/x509: only disable SHA-1 verification for certificates
c6ba470316 [release-branch.go1.18] cmd/go: prevent go work use panic when given a file
30d9077a34 [release-branch.go1.18] crypto/x509: fix Certificate.Verify crash
6412231192 [release-branch.go1.18] go/types, types2: preserve parent scope when substituting receivers
0bf8319883 [release-branch.go1.18] runtime: make static/dynamic startup detection work with musl on ppc64le
78b8b4a176 [release-branch.go1.18] cmd/compile: replace Type.OrigSym with Type.OrigType
6ebf676289 [release-branch.go1.18] all update vendored golang.org/x/tools
69bc821a01
[release-branch.go1.18] cmd/compile/internal/importer: key tparams by Package instead of pkgname
c258e9d07d [release-branch.go1.18] cmd/compile: fix panic with nested dead hidden closures
d17c5731ba [release-branch.go1.18] cmd/go: avoid stamping VCS metadata in test binaries
f4d55662d6 [release-branch.go1.18] cmd/compile: pointers to notinheap types need their own shape
290883a559 [release-branch.go1.18] cmd/link: mark unexported methods for plugins
39a8c8cf2e [release-branch.go1.18] cmd/compile: fix wrong dict param when getting dict type
9d738480d2 [release-branch.go1.18] go/types, types2: use correct underlying type in union set computation
32ff9b5de6 [release-branch.go1.18] crypto/x509: skip WSATRY_AGAIN errors when dialing badssl.com subdomains
8b0583a054 [release-branch.go1.18] bytes: restore old Trim/TrimLeft behavior for nil
677c6fe94c [release-branch.go1.18] runtime: call testenv.MustHaveCGO in a couple of tests

make package and make test are fine on amd64

Comments? OK?

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/go/Makefile,v
retrieving revision 1.109
diff -u -p -r1.109 Makefile
--- Makefile 24 Apr 2022 13:16:01 -0000 1.109
+++ Makefile 26 Apr 2022 00:29:21 -0000
@@ -5,7 +5,7 @@ BIN_BOOTSTRAP_VERSION = 1.16

COMMENT = Go programming language

-VERSION = 1.18
+VERSION = 1.18.1
DISTNAME = go${VERSION}.src
PKGNAME = go-${VERSION}
PKGSPEC = ${FULLPKGNAME:S/go-/go-=/}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/go/distinfo,v
retrieving revision 1.69
diff -u -p -r1.69 distinfo
--- distinfo 24 Apr 2022 13:16:01 -0000 1.69
+++ distinfo 26 Apr 2022 00:29:21 -0000
@@ -2,9 +2,9 @@ SHA256 (go-openbsd-386-bootstrap-1.16.ta
SHA256 (go-openbsd-arm-bootstrap-1.16.tar.gz) = DjjCEzU/FnndIrKC8gh5PKAZkKp9Lt49aT3XPqhEWNM=
SHA256 (go-openbsd-arm64-bootstrap-1.16.tar.gz) = qqc/TtaBfoq5oJcOHoqNZ6+bO+OOIRZoW1zlj19uBVw=
SHA256 (go-openbsd-mips64-bootstrap-1.16.tar.gz) = dwojdjHgxrLlKC8QbseRYnOf8s/wN/Wx+UkPhH2aeJY=
-SHA256 (go1.18.src.tar.gz) = OPQj20zINIg/K1I0QoL6ejn7uTZQ3GKhH98L5kCb2tY=
+SHA256 (go1.18.1.src.tar.gz) = 79Q+DxQC4IO3OgPURLe2V2u0xTmsRiCLY6kWtprKQIg=
SIZE (go-openbsd-386-bootstrap-1.16.tar.gz) = 131493298
SIZE (go-openbsd-arm-bootstrap-1.16.tar.gz) = 128073881
SIZE (go-openbsd-arm64-bootstrap-1.16.tar.gz) = 126892240
SIZE (go-openbsd-mips64-bootstrap-1.16.tar.gz) = 129935270
-SIZE (go1.18.src.tar.gz) = 22827832
+SIZE (go1.18.1.src.tar.gz) = 22834149
cvs server: Diffing patches
Index: patches/patch-src_cmd_go_internal_load_pkg_go
===================================================================
RCS file: /cvs/ports/lang/go/patches/patch-src_cmd_go_internal_load_pkg_go,v
retrieving revision 1.4
diff -u -p -r1.4 patch-src_cmd_go_internal_load_pkg_go
--- patches/patch-src_cmd_go_internal_load_pkg_go 24 Apr 2022 13:16:01 -0000 1.4
+++ patches/patch-src_cmd_go_internal_load_pkg_go 26 Apr 2022 00:29:21 -0000
@@ -1,7 +1,7 @@
Index: src/cmd/go/internal/load/pkg.go
--- src/cmd/go/internal/load/pkg.go.orig
+++ src/cmd/go/internal/load/pkg.go
-@@ -2482,11 +2482,11 @@ func externalLinkingForced(p *Package) bool {
+@@ -2498,11 +2498,11 @@ func externalLinkingForced(p *Package) bool {
// Some targets must use external linking even inside GOROOT.
switch cfg.BuildContext.GOOS {
case "android":

No comments:

Post a Comment