From patchwork Wed Jun 26 10:07:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 45641 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DEBAC27C4F for ; Wed, 26 Jun 2024 10:08:09 +0000 (UTC) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web10.22458.1719396484679723513 for ; Wed, 26 Jun 2024 03:08:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YsQbPFpl; spf=pass (domain: gmail.com, ip: 209.85.167.47, mailfrom: quaresma.jose@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52cdebf9f53so3931709e87.2 for ; Wed, 26 Jun 2024 03:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719396482; x=1720001282; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FaZn5FO9C09h4NsAV4L181UTiPSQY+10soA3Vadtvd0=; b=YsQbPFpl76crNI/6HEqC9wZDQznmVeOjAHBHI88L+EmvWliYfBgSW8VORiEcRB4LDe Sa/8JFiRyXgL1O/elGkwzsr9gIXVPwUh/iPMQ0mdo234C3pHeHufJSib7xlojbQGfZqg P9Rt6x1hsBPw3eE78PiyWBgeVzRGLpd4ltrjXDmJeWIpzWQH+8rZ/LeEgr7Al3tzsqMB Zy3iZ9gnxHGJMeKXCxmUUnO5NjpgHkVbM4mhKNfPXcEww5wIwRfIkji0rmZFF+llFbbe v8DIC3nU5a8UfEZb7AH4EEQrefgbH5W1Kf4v9US7igW/M4RwvldoUCnnJf2IE6UG9pGp NHsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396482; x=1720001282; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FaZn5FO9C09h4NsAV4L181UTiPSQY+10soA3Vadtvd0=; b=rxmdzePk28xxAhv4f7Rw9iex5oOPQJoXD+PPRjTF7jd+0aCqpA/I4x+YjP/o9GRvMg M8NULZEBO4TC3XC9vHLlLESFGcU68Ur3OpNaCiNMCvm1OUE5DmAskpGfafQ2nEU8E6Pe zDi8N4cNTzTNVCQgUI37QZUoXNpvX/hqTI2iU56zmY5LYUiUBB5JiaD3sX0bU6hVSHjK qt0Ec1D8IdDO73UarjSRvaICQN6AJEIm3uwbr3jOf9l5RK4xYO7MXugNcIMB08e4MyhU 9QBlqWYZVIQQSym0qs7/WwnAPNyF853bf1I9e9jLujcYR5AmWGauljTAdFurpvtgq4/W 14CA== X-Gm-Message-State: AOJu0Yw8tc6NahE29QOBN9CDDsFJxoOh2wDgxvdgIrroT3QOG/sVL1ve zeYOwOuvxjccesFWUMdGNWfbIHPPGnt/wSRZxjDYt5+QYh7GEBE59dqnFw== X-Google-Smtp-Source: AGHT+IHWf0cw8QPqprAYioUZ//l5QW3J7wnu5uP2LbXM4W50IYJMfr+f50DUyAAO9BX8+e9tNZceWA== X-Received: by 2002:ac2:43ab:0:b0:52c:e00c:d3a9 with SMTP id 2adb3069b0e04-52ce063d6a5mr6883262e87.1.1719396482133; Wed, 26 Jun 2024 03:08:02 -0700 (PDT) Received: from toster.lan (bl15-243-112.dsl.telepac.pt. [188.80.243.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366383f6717sm15468969f8f.9.2024.06.26.03.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:08:01 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma , Jose Quaresma , Alexandre Belloni , Richard Purdie Subject: [OE-core][scarthgap][PATCH 1/3] go: upgrade 1.22.2 -> 1.22.3 Date: Wed, 26 Jun 2024 11:07:50 +0100 Message-ID: <20240626100752.977-1-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 26 Jun 2024 10:08:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201156 From: Jose Quaresma Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.2..go1.22.3 adbfb672ba (tag: go1.22.3) [release-branch.go1.22] go1.22.3 fa0292d252 [release-branch.go1.22] cmd/go: disallow -lto_library in LDFLAGS 947e43e371 [release-branch.go1.22] Revert "cmd/compile: don't combine loads in generated equality functions" 9d2e28501c [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions 93d8777d24 [release-branch.go1.22] net: check SkipAdditional error result 3f4af1ff0e [release-branch.go1.22] runtime: use bootstrapRand to initialize hashkey a7ff78d585 [release-branch.go1.22] cmd/compile: bail PGO method lookup on interface types 12c1177045 [release-branch.go1.22] cmd/internal/obj/ppc64: fix incorrect int to int64 conversion when checking MOVD opcodes d6c972ad41 [release-branch.go1.22] net/http: update bundled golang.org/x/net/http2 a65a2bbd8e [release-branch.go1.22] all: tidy dependency versioning after release [1] https://github.com/golang/go/compare/go1.22.2...go1.22.3 Signed-off-by: Jose Quaresma Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 18062def5b65e02d6dc0570734055c100445b6f2) --- meta/recipes-devtools/go/{go-1.22.2.inc => go-1.22.3.inc} | 2 +- ...o-binary-native_1.22.2.bb => go-binary-native_1.22.3.bb} | 6 +++--- ...cross-canadian_1.22.2.bb => go-cross-canadian_1.22.3.bb} | 0 .../go/{go-cross_1.22.2.bb => go-cross_1.22.3.bb} | 0 .../go/{go-crosssdk_1.22.2.bb => go-crosssdk_1.22.3.bb} | 0 .../go/{go-native_1.22.2.bb => go-native_1.22.3.bb} | 0 .../go/{go-runtime_1.22.2.bb => go-runtime_1.22.3.bb} | 0 meta/recipes-devtools/go/{go_1.22.2.bb => go_1.22.3.bb} | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/go/{go-1.22.2.inc => go-1.22.3.inc} (89%) rename meta/recipes-devtools/go/{go-binary-native_1.22.2.bb => go-binary-native_1.22.3.bb} (78%) rename meta/recipes-devtools/go/{go-cross-canadian_1.22.2.bb => go-cross-canadian_1.22.3.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.22.2.bb => go-cross_1.22.3.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.22.2.bb => go-crosssdk_1.22.3.bb} (100%) rename meta/recipes-devtools/go/{go-native_1.22.2.bb => go-native_1.22.3.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.22.2.bb => go-runtime_1.22.3.bb} (100%) rename meta/recipes-devtools/go/{go_1.22.2.bb => go_1.22.3.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.22.2.inc b/meta/recipes-devtools/go/go-1.22.3.inc similarity index 89% rename from meta/recipes-devtools/go/go-1.22.2.inc rename to meta/recipes-devtools/go/go-1.22.3.inc index b399207311..34703bc1fa 100644 --- a/meta/recipes-devtools/go/go-1.22.2.inc +++ b/meta/recipes-devtools/go/go-1.22.3.inc @@ -15,4 +15,4 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ " -SRC_URI[main.sha256sum] = "374ea82b289ec738e968267cac59c7d5ff180f9492250254784b2044e90df5a9" +SRC_URI[main.sha256sum] = "80648ef34f903193d72a59c0dff019f5f98ae0c9aa13ade0b0ecbff991a76f68" diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.2.bb b/meta/recipes-devtools/go/go-binary-native_1.22.3.bb similarity index 78% rename from meta/recipes-devtools/go/go-binary-native_1.22.2.bb rename to meta/recipes-devtools/go/go-binary-native_1.22.3.bb index 0f00509f03..b67d97608d 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.22.2.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.22.3.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17" -SRC_URI[go_linux_arm64.sha256sum] = "36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1" -SRC_URI[go_linux_ppc64le.sha256sum] = "251a8886c5113be6490bdbb955ddee98763b49c9b1bf4c8364c02d3b482dab00" +SRC_URI[go_linux_amd64.sha256sum] = "8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36" +SRC_URI[go_linux_arm64.sha256sum] = "6c33e52a5b26e7aa021b94475587fce80043a727a54ceb0eee2f9fc160646434" +SRC_URI[go_linux_ppc64le.sha256sum] = "04b7b05283de30dd2da20bf3114b2e22cc727938aed3148babaf35cc951051ac" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb diff --git a/meta/recipes-devtools/go/go-cross_1.22.2.bb b/meta/recipes-devtools/go/go-cross_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.22.2.bb rename to meta/recipes-devtools/go/go-cross_1.22.3.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.2.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.22.2.bb rename to meta/recipes-devtools/go/go-crosssdk_1.22.3.bb diff --git a/meta/recipes-devtools/go/go-native_1.22.2.bb b/meta/recipes-devtools/go/go-native_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go-native_1.22.2.bb rename to meta/recipes-devtools/go/go-native_1.22.3.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.22.2.bb b/meta/recipes-devtools/go/go-runtime_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.22.2.bb rename to meta/recipes-devtools/go/go-runtime_1.22.3.bb diff --git a/meta/recipes-devtools/go/go_1.22.2.bb b/meta/recipes-devtools/go/go_1.22.3.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.22.2.bb rename to meta/recipes-devtools/go/go_1.22.3.bb From patchwork Wed Jun 26 10:07:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 45642 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A25BC30659 for ; Wed, 26 Jun 2024 10:08:09 +0000 (UTC) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mx.groups.io with SMTP id smtpd.web11.22539.1719396485958614311 for ; Wed, 26 Jun 2024 03:08:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fmIj9ftc; spf=pass (domain: gmail.com, ip: 209.85.208.181, mailfrom: quaresma.jose@gmail.com) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2ec5779b423so43298351fa.0 for ; Wed, 26 Jun 2024 03:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719396483; x=1720001283; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iHhvpbs1VClB1rK6AVBn10gPT3/4fxVtOSFqNGooG2E=; b=fmIj9ftctONMdizoxv8QUTzBPPULBpEPFnXO4Akm9u3eQ5AhteotpVozZBgM3ro7NE ABkvyJXwfL0X9aNRI0fM8aHrOLnwQoaXg97BkZdu0dzfw0Hk9hKWCVWSSX6qucoquwSF kyqnFdaqACxewLsG3R2PKzkERycCseuNYQtogGdb/ACQcMqy+s/m0D38yCKmSQQNcFzq JAASOP9H4NT0txRtDc7148+cOS6Sv3x4JCtasebtx48leNEYFL8Z83Y8qfPt/ntMTkhP +ez4OCkjVBULeIaXR3agXqRDq+ZK1g+nLxDIqvs2JlgBuYaVS75L+TgERDfT1sHaNVht JEAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396484; x=1720001284; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iHhvpbs1VClB1rK6AVBn10gPT3/4fxVtOSFqNGooG2E=; b=BzHg7XgcT2s9i9AonNYb8yczmgSW28mkZ1aNtVSth6Q4H7qG2QdcBP5V9uU8TwMrjN wFwUtRz53fPZPpeCqINvyKTbM8xjEkAm9uLPHIM8wi6IeDLzcxaxJ8z1TKuy+dRbeCKV feFUIRfsvC1ylbFhJ0nYqam0d5OyaEbLYFxrBL9PiPSHGzCCO74fmFrr4wek//119sz6 5Vfg8CBilOD+qaSs+VMM2V71VCDyNfCfu6Hrw/yT7/J+TK69inHAPGIq1M6y3H2ED0by oGD0jKjeCyNddv0xCUyA4Xa8Gs/ewMSvrtJ1NBHnskVQzC62FngOh7GBx+h8HPwx/7Ku Ozyg== X-Gm-Message-State: AOJu0Yw9s3hCXny4ea1ckMLa17gMq/uQR7I2p9rlkQubDnOOiK7Y8v6h 6e0muGnDLHv03W+Xup3dMs4Hnhxzu+O5Yf3WkzVpICx7AnBznN11CfP5Ew== X-Google-Smtp-Source: AGHT+IGM2Fn5kUZLsnBdhkyW8v32DjwW5BTRU67bT3aBq85PA6JqLPcnoUNmi4wpqlpis1q00h4BRQ== X-Received: by 2002:a2e:bc04:0:b0:2ec:5964:9c0d with SMTP id 38308e7fff4ca-2ec5964a0f6mr107082441fa.0.1719396483351; Wed, 26 Jun 2024 03:08:03 -0700 (PDT) Received: from toster.lan (bl15-243-112.dsl.telepac.pt. [188.80.243.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366383f6717sm15468969f8f.9.2024.06.26.03.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:08:02 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma , Jose Quaresma , Alexandre Belloni Subject: [OE-core][scarthgap][PATCH 2/3] go: upgrade 1.22.3 -> 1.22.4 Date: Wed, 26 Jun 2024 11:07:51 +0100 Message-ID: <20240626100752.977-2-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240626100752.977-1-jose.quaresma@foundries.io> References: <20240626100752.977-1-jose.quaresma@foundries.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 26 Jun 2024 10:08:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201157 From: Jose Quaresma Include fixes for CVE-2024-24790 Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.3..go1.22.4 ace5bb40d0 (tag: go1.22.4) [release-branch.go1.22] go1.22.4 12d5810cdb [release-branch.go1.22] net/netip: check if address is v6 mapped in Is methods 745657509e [release-branch.go1.22] os: RemoveAll: fix symlink race for unix 95389d3d9d [release-branch.go1.22] runtime: x_cgo_getstackbound: initialize pthread attr cf501ac0c5 [release-branch.go1.22] archive/zip: treat truncated EOCDR comment as an error cb55d1a0c8 [release-branch.go1.22] cmd/link: add runtime.text.N symbols to macho symbol table in dynlink mode 3c96ae0870 [release-branch.go1.22] runtime: update large object stats before freeSpan in sweep 6b89e7dc5a [release-branch.go1.22] cmd/compile: initialize posBaseMap correctly 185457da9b [release-branch.go1.22] crypto/x509: remove TestPlatformVerifierLegacy tests 3a84293118 [release-branch.go1.22] cmd/compile: avoid past-the-end pointer when zeroing 362dcedfdb [release-branch.go1.22] cmd/go/testdata/script: add darwin skips for selected buildrepro tests d4a81ec7ee [release-branch.go1.22] cmd/go/testdata/script: clear path in gotoolchain_issue66175 dc8976dd0b [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions 00e6815208 [release-branch.go1.22] cmd/go: download 1.X.0 instead of 1.X during toolchain upgrade. [1] https://github.com/golang/go/compare/go1.22.3...go1.22.4 Signed-off-by: Jose Quaresma Signed-off-by: Alexandre Belloni (cherry picked from commit cf139dfec080152a66a9c42bfb9bfca6789909be) --- meta/recipes-devtools/go/{go-1.22.3.inc => go-1.22.4.inc} | 2 +- ...o-binary-native_1.22.3.bb => go-binary-native_1.22.4.bb} | 6 +++--- ...cross-canadian_1.22.3.bb => go-cross-canadian_1.22.4.bb} | 0 .../go/{go-cross_1.22.3.bb => go-cross_1.22.4.bb} | 0 .../go/{go-crosssdk_1.22.3.bb => go-crosssdk_1.22.4.bb} | 0 .../go/{go-native_1.22.3.bb => go-native_1.22.4.bb} | 0 .../go/{go-runtime_1.22.3.bb => go-runtime_1.22.4.bb} | 0 meta/recipes-devtools/go/{go_1.22.3.bb => go_1.22.4.bb} | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/go/{go-1.22.3.inc => go-1.22.4.inc} (89%) rename meta/recipes-devtools/go/{go-binary-native_1.22.3.bb => go-binary-native_1.22.4.bb} (78%) rename meta/recipes-devtools/go/{go-cross-canadian_1.22.3.bb => go-cross-canadian_1.22.4.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.22.3.bb => go-cross_1.22.4.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.22.3.bb => go-crosssdk_1.22.4.bb} (100%) rename meta/recipes-devtools/go/{go-native_1.22.3.bb => go-native_1.22.4.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.22.3.bb => go-runtime_1.22.4.bb} (100%) rename meta/recipes-devtools/go/{go_1.22.3.bb => go_1.22.4.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.22.3.inc b/meta/recipes-devtools/go/go-1.22.4.inc similarity index 89% rename from meta/recipes-devtools/go/go-1.22.3.inc rename to meta/recipes-devtools/go/go-1.22.4.inc index 34703bc1fa..44897daba4 100644 --- a/meta/recipes-devtools/go/go-1.22.3.inc +++ b/meta/recipes-devtools/go/go-1.22.4.inc @@ -15,4 +15,4 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ " -SRC_URI[main.sha256sum] = "80648ef34f903193d72a59c0dff019f5f98ae0c9aa13ade0b0ecbff991a76f68" +SRC_URI[main.sha256sum] = "fed720678e728a7ca30ba8d1ded1caafe27d16028fab0232b8ba8e22008fb784" diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.3.bb b/meta/recipes-devtools/go/go-binary-native_1.22.4.bb similarity index 78% rename from meta/recipes-devtools/go/go-binary-native_1.22.3.bb rename to meta/recipes-devtools/go/go-binary-native_1.22.4.bb index b67d97608d..61da51be3a 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.22.3.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.22.4.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36" -SRC_URI[go_linux_arm64.sha256sum] = "6c33e52a5b26e7aa021b94475587fce80043a727a54ceb0eee2f9fc160646434" -SRC_URI[go_linux_ppc64le.sha256sum] = "04b7b05283de30dd2da20bf3114b2e22cc727938aed3148babaf35cc951051ac" +SRC_URI[go_linux_amd64.sha256sum] = "ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d" +SRC_URI[go_linux_arm64.sha256sum] = "a8e177c354d2e4a1b61020aca3562e27ea3e8f8247eca3170e3fa1e0c2f9e771" +SRC_URI[go_linux_ppc64le.sha256sum] = "a3e5834657ef92523f570f798fed42f1f87bc18222a16815ec76b84169649ec4" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.22.4.bb diff --git a/meta/recipes-devtools/go/go-cross_1.22.3.bb b/meta/recipes-devtools/go/go-cross_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.22.3.bb rename to meta/recipes-devtools/go/go-cross_1.22.4.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.3.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.22.3.bb rename to meta/recipes-devtools/go/go-crosssdk_1.22.4.bb diff --git a/meta/recipes-devtools/go/go-native_1.22.3.bb b/meta/recipes-devtools/go/go-native_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go-native_1.22.3.bb rename to meta/recipes-devtools/go/go-native_1.22.4.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.22.3.bb b/meta/recipes-devtools/go/go-runtime_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.22.3.bb rename to meta/recipes-devtools/go/go-runtime_1.22.4.bb diff --git a/meta/recipes-devtools/go/go_1.22.3.bb b/meta/recipes-devtools/go/go_1.22.4.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.22.3.bb rename to meta/recipes-devtools/go/go_1.22.4.bb From patchwork Wed Jun 26 10:07:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Quaresma X-Patchwork-Id: 45643 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CF88C30653 for ; Wed, 26 Jun 2024 10:08:09 +0000 (UTC) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx.groups.io with SMTP id smtpd.web10.22459.1719396488323551940 for ; Wed, 26 Jun 2024 03:08:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Er8g3ynH; spf=pass (domain: gmail.com, ip: 209.85.208.172, mailfrom: quaresma.jose@gmail.com) Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2ec002caf3eso97358791fa.1 for ; Wed, 26 Jun 2024 03:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719396486; x=1720001286; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DGXHXYb3gAMRFWOVgvbWUne45LIV8i6dKAyrtCS6LVs=; b=Er8g3ynHvWLDRmMVFwjvcwhJW7WiOcgFx/7SD6iy8ZWKibDJWafPK/4s/FMAwrAUbt JVwgVJUm79Fuk2RpOC40gQWBcUpaMqKdZQOEP7MSVpCvVf6IOPWyD15EMj3g/pC8nygI Lgf9vvu7I9J2rlwiqiA/67CxkrWaotB55D+Es5OO3RWfnH1nNs2Kt5T22oHs5a7MOSYh 10JLCowbXPKSKvbensnaNAC4QSEoXtOonSRI4LIlMQpIGpC8Hn3+95O4L/BdYAkOqruC EsX9norMQlcf1itKbhXnYyOdPYybaiQViPbDMaNjKEodgG4EoSRaJHpjfaHRQHSFRmhh qfuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396486; x=1720001286; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DGXHXYb3gAMRFWOVgvbWUne45LIV8i6dKAyrtCS6LVs=; b=Rv/SpIwHal+qVlXI19ZRHzMSckXAaumW/4iPFPM5QXxE57fbfSVFJATuRSLviGHyJA C4o+2ncZi6QhfwsuaUNqhSmt6+OX+kf00Z9qphlx9NSUFO0dfJuDypEarfktI9EXW8BA n8VE6+J1Ip31ZXxoF7B6BIdSLVx6XP92RrYkPypk+VwJ9TxYZNSvPd8Wsdeh2U7DLu+8 g4KKlPgGN25e33Z2KHYRBHvePzYneCpkilHdebeYxRkvAhpn5FCuEgMWDwBNqO6Aw7Vd Ai7wkpCuoRo/wJBOiZI79sUdrKv4dKXTinsbana7a8N1u1AQSscO3MlK7FhAzJSP1VZZ Atsw== X-Gm-Message-State: AOJu0Yyt+53vqcXtKSR8JjdPkf8aoEzPBJiEz+s0boAcUhGp1vMbmi4Y a9Z1I2THfdOlvEme/EoXC7Z3RjTpwn6qhTC7YU/E03f8meiqv7I6rn6eRA== X-Google-Smtp-Source: AGHT+IHiXVQ1V+3NLCOyrD3nvvvremfMIBMJTlYAFNUz7meroIuK3JDSe573Up6HPy25hmMA5gLhkg== X-Received: by 2002:a2e:8746:0:b0:2ec:5685:f061 with SMTP id 38308e7fff4ca-2ec5b2d6313mr77287251fa.21.1719396484249; Wed, 26 Jun 2024 03:08:04 -0700 (PDT) Received: from toster.lan (bl15-243-112.dsl.telepac.pt. [188.80.243.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366383f6717sm15468969f8f.9.2024.06.26.03.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:08:03 -0700 (PDT) From: Jose Quaresma X-Google-Original-From: Jose Quaresma To: openembedded-core@lists.openembedded.org Cc: Jose Quaresma , Jose Quaresma , Alexandre Belloni Subject: [OE-core][scarthgap][PATCH 3/3] go: drop the old 1.4 bootstrap C version Date: Wed, 26 Jun 2024 11:07:52 +0100 Message-ID: <20240626100752.977-3-jose.quaresma@foundries.io> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240626100752.977-1-jose.quaresma@foundries.io> References: <20240626100752.977-1-jose.quaresma@foundries.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 26 Jun 2024 10:08:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201158 From: Jose Quaresma Bootstrap [1] As mentioned in the Go 1.20 release notes, Go 1.22 now requires the final point release of Go 1.20 or later for bootstrap. We expect that Go 1.24 will require the final point release of Go 1.22 or later for bootstrap. The default recipe for bootstrap is the go-binary-native as can be seen in: meta/conf/distro/include/tcmode-default.inc:68:PREFERRED_PROVIDER_go-native ?= "go-binary-native" Currently if we change it to use the old go-native and compile the go1.4-bootstrap-20170531 it fails: | Building Go cmd/dist using /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go1.4/go. (go1.4-bootstrap-20170531 linux/amd64) | can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go/src/cmd/dist This has been broken for some time but as we used go-binary-native by default it went unnoticed. [1] https://go.dev/doc/go1.22#bootstrap Signed-off-by: Jose Quaresma Signed-off-by: Alexandre Belloni (cherry picked from commit 876d344d2ec3d6ce283d01974146392d76685824) --- meta/recipes-devtools/go/go-native_1.22.4.bb | 58 -------------------- 1 file changed, 58 deletions(-) delete mode 100644 meta/recipes-devtools/go/go-native_1.22.4.bb diff --git a/meta/recipes-devtools/go/go-native_1.22.4.bb b/meta/recipes-devtools/go/go-native_1.22.4.bb deleted file mode 100644 index ddf25b2c9b..0000000000 --- a/meta/recipes-devtools/go/go-native_1.22.4.bb +++ /dev/null @@ -1,58 +0,0 @@ -# This recipe builds a native Go (written in Go) by first building an old Go 1.4 -# (written in C). However this old Go does not support all hosts platforms. - -require go-${PV}.inc - -inherit native - -SRC_URI += "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4" -SRC_URI[bootstrap.sha256sum] = "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52" - -export GOOS = "${BUILD_GOOS}" -export GOARCH = "${BUILD_GOARCH}" -CC = "${@d.getVar('BUILD_CC').strip()}" - -GOMAKEARGS ?= "--no-banner" - -do_configure() { - cd ${WORKDIR}/go1.4/go/src - CGO_ENABLED=0 GOROOT=${WORKDIR}/go1.4/go ./make.bash -} - -do_compile() { - export GOROOT_FINAL="${libdir_native}/go" - export GOROOT_BOOTSTRAP="${WORKDIR}/go1.4/go" - - cd src - ./make.bash ${GOMAKEARGS} - cd ${B} -} -do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin" - -make_wrapper() { - rm -f ${D}${bindir}/$2$3 - cat <${D}${bindir}/$2$3 -#!/bin/bash -here=\`dirname \$0\` -export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}" -\$here/../lib/go/bin/$1 "\$@" -END - chmod +x ${D}${bindir}/$2 -} - -do_install() { - install -d ${D}${libdir}/go - cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/ - install -d ${D}${libdir}/go/src - (cd ${S}/src; for d in *; do \ - [ -d $d ] && cp -a ${S}/src/$d ${D}${libdir}/go/src/; \ - done) - find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \; - install -d ${D}${bindir} ${D}${libdir}/go/bin - for f in ${B}/bin/* - do - base=`basename $f` - install -m755 $f ${D}${libdir}/go/bin - make_wrapper $base $base - done -}