From patchwork Wed Jun 26 16:53:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 167847 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1186930ilk; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0FQPB24rtkijMKiUNcLY6jIEq6ym1n2nZ630MWbIfZVSjo+XZvE0oPL7bNngPvUeFM6Fl X-Received: by 2002:a63:3d0f:: with SMTP id k15mr3896329pga.343.1561568182236; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561568182; cv=none; d=google.com; s=arc-20160816; b=0hQUN9LIuvU2UZ67qWu36ugN0NnDDBNBNDkrac9MUsu1jtEDxoN7YHbKrQGyQah10T cpQAFisg6yALiBFjpcxluF8pmYxaKvD25fIXKsRLN1AVW7rKDL0JGCPS0x68ZzRXZ9ys 3UEPCKIklA5u2l8DuGwhlcE6TLrTDyeDw8cVSbWvlFiUFVD22fz5leLc7QvbKHzUvkqG GQeSnsYVBbkaEvt/q2nh5twNpjFOQuD9A0SBPKJ9NtEP8ZMhvyf74DZ4na0+9nY2RCmf 2sMwmFfXJggFETva6wCuQRxQsBGV8UYnf8Y487xKwQBwxLl34p4Y2gQENTluv6pcDvqW 44Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=C762qdSTprZSUuxTojBRY1klpBENI8J/mlxg2B3pSM8=; b=evR84gtiFn5l6335/9K0XcwOgpk5xZKSW4lGEYvctySTbL/yvW9PVsZNWq9C6CuBr4 tE9uiQD9NbOdKxYbnJ+fx41ckW5v6o3AxwqbBS7ys4TcaUes+E9q7WKVzKBBjqzNGDvK P12RU9QhbspKuRIhDPiNftPKKwYdFp481rHzt3SBfyxj1EVkRDGuPAZYirJsGQc7z0Y/ 3/E7SnCCwl6noUzZQuM+2XfAqj2nhh1J/sOykyY+FO+Ma+wZ0STtGFH4lEeSUDZXRRCy yDNMkvxy1OILOJB8dw2+D+OlSEqldsFQhMrD4JDwBEVzR23ak9DIHcXbxyD5mjZAKz+g UIQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hySNWhnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d18si3642884pll.238.2019.06.26.09.56.21; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hySNWhnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F297D7E7A1; Wed, 26 Jun 2019 16:54:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mail.openembedded.org (Postfix) with ESMTP id 21F416D7A2 for ; Wed, 26 Jun 2019 16:53:48 +0000 (UTC) Received: by mail-pg1-f182.google.com with SMTP id w10so1484103pgj.7 for ; Wed, 26 Jun 2019 09:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=XgIIpTrPFZRWDDI5Vh7TOrm71k3GSVjkWjKa7LmZbr8=; b=hySNWhnuCfGuvi3H1p+/S3uKcf2if8W4/cLnWc9tQtEawOH247FkvfB/eImwSTFeWi umf85xDrfzQAuNzAJ6OF8n1hSFqEZXHbGNHiBdKJqjPhQ5KMDkccYHcNTDBsj0l0EyLc U1roHFnSgNVvH+enVz+DEMuCX4AdvGNlCqwOyHyPnjD3RD1zvsqnEytxEtjA3RAjJLJv 8HKIHSiuN3QG8aIzYGUWZUT6epYoX7bh7TH9GusbfT+BAAjSULkRi/CKOQvBXzD3l62F zAFUZbJzW5Xs5DYpOUT3tfY2s9cFTzuYNo+JyySNAMfPCnUU6hjN4aF3mE/rWABCSkLb n7OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=XgIIpTrPFZRWDDI5Vh7TOrm71k3GSVjkWjKa7LmZbr8=; b=iD8p42DBQNx6g8Iypy4DXbFkIB/+zA0etV5iLBZqYnI97SQsfnVb5fPteXOOt3OuFM bMpj7IGqWISJ1WbiL3iKF7/F5ICWhaRJ6MQBbcBo8Pq+fFEGz6a0OL5Ahw69NhfvM4d4 xCRtKyxfMxgyVl2lnA/5XvD29+qWUhXkf3znYTIg24djOneRLBcI1V/4JCyu7r1JwTYK hlQTvCZbX0IBjBG0UqWeqqViYPWHIS5RxDU2w3x1hd7O5AMyn/octlylxwmhLQwheTyQ TL44WrVfREa9YHE7NBAEVNsPJxJY5z+28LnMIiVAz/O6cyKl1jJD3mBHD8KdaXM2osl8 /TgA== X-Gm-Message-State: APjAAAUxyQAVwtoxdCb65eBNzxnSWULaNGni1Crl4UyGG+QoI93H0q1J XDtKz93aUW94Z8owQfIOlMb3in4Qu1U= X-Received: by 2002:a17:90a:3ac2:: with SMTP id b60mr64899pjc.74.1561568029004; Wed, 26 Jun 2019 09:53:49 -0700 (PDT) Received: from localhost.localdomain ([45.19.219.178]) by smtp.gmail.com with ESMTPSA id t11sm15339687pgp.1.2019.06.26.09.53.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jun 2019 09:53:48 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Wed, 26 Jun 2019 09:53:15 -0700 Message-Id: <69964488112899371b7fd88b6e86e533d968b457.1561566521.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [thud][ 14/25] go: Upgrade 1.11.1 -> 1.11.4 minor release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj Source: OpenEmbedded.org MR: 98328, 98329, 98330 Type: Security Fix Disposition: Backport from https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/go?h=warrior&id=b964551a0d08aa921d4e0ceea2f1e28a5e83510e ChangeID: 0b4cc69c357ba14c4e7a6c7ff926cfc6f09489b2 Description: include: CVE-2018-16873 CVE-2018-16874 CVE-2018-16875 Changes: https://golang.org/doc/devel/release.html#go1.11 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie [Bug fix only update] Signed-off-by: Armin Kuster Signed-off-by: Armin Kuster --- meta/recipes-devtools/go/go-1.11.inc | 7 +++---- .../0007-cmd-go-make-GOROOT-precious-by-default.patch | 6 +++--- .../go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch | 13 +++++-------- 3 files changed, 11 insertions(+), 15 deletions(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go-1.11.inc b/meta/recipes-devtools/go/go-1.11.inc index d626514..d03e26c 100644 --- a/meta/recipes-devtools/go/go-1.11.inc +++ b/meta/recipes-devtools/go/go-1.11.inc @@ -1,7 +1,7 @@ require go-common.inc GO_BASEVERSION = "1.11" -GO_MINOR = ".1" +GO_MINOR = ".4" PV .= "${GO_MINOR}" FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" @@ -17,8 +17,7 @@ SRC_URI += "\ file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ " - SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch" -SRC_URI[main.md5sum] = "eb9e9792247143705a7aacea9398cde0" -SRC_URI[main.sha256sum] = "558f8c169ae215e25b81421596e8de7572bd3ba824b79add22fba6e284db1117" +SRC_URI[main.md5sum] = "a77697673215be465d1b583680ef2318" +SRC_URI[main.sha256sum] = "4cfd42720a6b1e79a8024895fa6607b69972e8e32446df76d6ce79801bbadb15" diff --git a/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch index f317e48..29ef947 100644 --- a/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch +++ b/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch @@ -65,8 +65,8 @@ Index: go/src/cmd/go/internal/work/exec.go =================================================================== --- go.orig/src/cmd/go/internal/work/exec.go +++ go/src/cmd/go/internal/work/exec.go -@@ -440,6 +440,23 @@ func (b *Builder) build(a *Action) (err - return fmt.Errorf("module requires Go %s", p.Module.GoVersion) +@@ -436,6 +436,23 @@ func (b *Builder) build(a *Action) (err + return fmt.Errorf("missing or invalid binary-only package; expected file %q", a.Package.Target) } + if goRootPrecious && (a.Package.Standard || a.Package.Goroot) { @@ -89,7 +89,7 @@ Index: go/src/cmd/go/internal/work/exec.go if err := b.Mkdir(a.Objdir); err != nil { return err } -@@ -1435,6 +1452,14 @@ func BuildInstallFunc(b *Builder, a *Act +@@ -1438,6 +1455,14 @@ func BuildInstallFunc(b *Builder, a *Act return nil } diff --git a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch index b6ab504..225cf43 100644 --- a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch +++ b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch @@ -18,11 +18,11 @@ Signed-off-by: Hongxu Jia src/cmd/go/internal/work/build.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go -index 145b875..595d703 100644 ---- a/src/cmd/go/internal/work/build.go -+++ b/src/cmd/go/internal/work/build.go -@@ -218,7 +218,11 @@ func AddBuildFlags(cmd *base.Command) { +Index: go/src/cmd/go/internal/work/build.go +=================================================================== +--- go.orig/src/cmd/go/internal/work/build.go ++++ go/src/cmd/go/internal/work/build.go +@@ -223,7 +223,11 @@ func AddBuildFlags(cmd *base.Command) { cmd.Flag.Var(&load.BuildAsmflags, "asmflags", "") cmd.Flag.Var(buildCompiler{}, "compiler", "") @@ -35,6 +35,3 @@ index 145b875..595d703 100644 cmd.Flag.Var(&load.BuildGcflags, "gcflags", "") cmd.Flag.Var(&load.BuildGccgoflags, "gccgoflags", "") cmd.Flag.StringVar(&cfg.BuildMod, "mod", "", "") --- -2.7.4 -