Skip to contentSkip to conversation

backport go 1.9.4 update to rocko

PATCH In review Matt Madison 3 participants 5 messages Mar 12, 2018

lore
Share & tools
lore
#0 lore raw

cover backport go 1.9.4 update to rocko

One of the changes included in this point release update fixes an issue with the construction of Go's shared runtim library, so it would be great to backport this to rocko to fix [YOCTO 12592].

Thanks,
-Matt

Otavio Salvador (1):
go: Upgrade 1.9 to 1.9.4 stable release

 meta/recipes-devtools/go/go-1.9.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 go: Upgrade 1.9 to 1.9.4 stable release

From: Otavio Salvador <[email protected]>

The 1.9.4 fixes a number of issues in the Go compiler and is important to get in before we start working on 1.10 inclusion.

- go1.9.1 (released 2017/10/04) includes two security fixes.

- go1.9.2 (released 2017/10/25) includes fixes to the compiler, linker, runtime, documentation, go command, and the crypto/x509, database/sql, log, and net/smtp packages. It includes a fix to a bug introduced in Go 1.9.1 that broke go get of non-Git repositories under certain conditions.

- go1.9.3 (released 2018/01/22) includes fixes to the compiler, runtime, and the database/sql, math/big, net/http, and net/url packages.

- go1.9.4 (released 2018/02/07) includes a security fix to “go get”.

---
 meta/recipes-devtools/go/go-1.9.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-devtools/go/go-1.9.inc +5 -2
index 7f12241dc1..2823304b7c 100644
@@ -1,6 +1,9 @@
 require go-common.inc
 
 GO_BASEVERSION = "1.9"
+GO_MINOR = ".4"
+PV .= "${GO_MINOR}"
+
 FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -19,5 +22,5 @@ SRC_URI += "\
 "
 SRC_URI_append_libc-musl = " file://set-external-linker.patch"
 
-SRC_URI[main.md5sum] = "da2d44ea384076efec43ee1f8b7d45d2"
-SRC_URI[main.sha256sum] = "a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993"
+SRC_URI[main.md5sum] = "6816441fd6680c63865cdd5cb8bc1960"
+SRC_URI[main.sha256sum] = "0573a8df33168977185aa44173305e5a0450f55213600e94541604b75d46dc06"
Signature · 1 line
2.14.1
#2 lore raw

Re: [rocko][PATCH 1/1] go: Upgrade 1.9 to 1.9.4 stable release

Note that stable branch policy is to cherry-pick security fixes unless they're too complicated/risky to pick (openssl is the notable example here).

Ross

Quoted 55 lines · Matt Madison

From: Otavio Salvador <[email protected]>

The 1.9.4 fixes a number of issues in the Go compiler and is important to get in before we start working on 1.10 inclusion.

- go1.9.1 (released 2017/10/04) includes two security fixes.

- go1.9.2 (released 2017/10/25) includes fixes to the compiler, linker, runtime, documentation, go command, and the crypto/x509, database/sql, log, and net/smtp packages. It includes a fix to a bug introduced in Go 1.9.1 that broke go get of non-Git repositories under certain conditions.

- go1.9.3 (released 2018/01/22) includes fixes to the compiler, runtime, and the database/sql, math/big, net/http, and net/url packages.

- go1.9.4 (released 2018/02/07) includes a security fix to “go get”.

---
 meta/recipes-devtools/go/go-1.9.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-devtools/go/go-1.9.inc +3 -2
index 7f12241dc1..2823304b7c 100644
@@ -1,6 +1,9 @@
 require go-common.inc
 
 GO_BASEVERSION = "1.9"
+GO_MINOR = ".4"
+PV .= "${GO_MINOR}"
+
 FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -19,5 +22,5 @@ SRC_URI += "\
 "
 SRC_URI_append_libc-musl = " file://set-external-linker.patch"
 
-SRC_URI[main.md5sum] = "da2d44ea384076efec43ee1f8b7d45d2"
-SRC_URI[main.sha256sum] = "a4ab229028ed167ba1986825751463

605264e44868362ca8e7accc8be057e993"

meta/recipes-devtools/go/go-1.9.inc +2 -0
+SRC_URI[main.md5sum] = "6816441fd6680c63865cdd5cb8bc1960"
+SRC_URI[main.sha256sum] = "0573a8df33168977185aa44173305e

5a0450f55213600e94541604b75d46dc06"
--
2.14.1

#3 lore raw

Re: [rocko][PATCH 1/1] go: Upgrade 1.9 to 1.9.4 stable release

Quoted 2 lines · Ross

Note that stable branch policy is to cherry-pick security fixes unless they're too complicated/risky to pick (openssl is the notable example here).

I strong believe Go should be dealt in same way; it is known to be good at supporting forwarding upgrades easily and it does fix some security and other bugs. Picking them would be pointless and risky.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Acked-by on the v1 series
#4 lore raw
In reply to Matt Madison
Quoted 4 lines · Matt Madison

One of the changes included in this point release update fixes an issue with the construction of Go's shared runtim library, so it would be great to backport this to rocko to fix [YOCTO 12592].

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750