diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-20 18:12:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-20 18:12:32 +0900 |
| commit | 5cf1d70c7bd513e43ab867d2043014318488fc0e (patch) | |
| tree | 8320facf51a468b56c4c311eaa774fece3f9ca77 /internal/rosa/package/go | |
| parent | e58b6eb17110e266be07db10d2af212b58cc8f0f (diff) | |
internal/rosa/package/go: 1.26.6 to 1.27.0
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/go')
| -rw-r--r-- | internal/rosa/package/go/746640.patch | 29 | ||||
| -rw-r--r-- | internal/rosa/package/go/package.az | 62 |
2 files changed, 0 insertions, 91 deletions
diff --git a/internal/rosa/package/go/746640.patch b/internal/rosa/package/go/746640.patch deleted file mode 100644 index be1e732d..00000000 --- a/internal/rosa/package/go/746640.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 45929774c3d5c084cc478afba63c77cf67a68bd7 Mon Sep 17 00:00:00 2001 -From: khr@golang.org <khr@golang.org> -Date: Wed, 18 Feb 2026 09:09:57 -0800 -Subject: [PATCH] internal/runtime/gc/scan: require popcnt for x86 - -The GOAMD64=v1 test disables popcnt instructions, which is a feature -this package's amd64 assembly uses. - -Fixes #77674 - -Change-Id: I7be9bb665838f5da50275f96ef3df398412bb44a -Reviewed-on: https://go-review.googlesource.com/c/go/+/746640 -LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> -Reviewed-by: Michael Knyszek <mknyszek@google.com> -Reviewed-by: Keith Randall <khr@google.com> -Auto-Submit: Keith Randall <khr@golang.org> ---- - -diff --git a/src/internal/runtime/gc/scan/scan_amd64.go b/src/internal/runtime/gc/scan/scan_amd64.go -index c03021c7d4..544b237770 100644 ---- a/src/internal/runtime/gc/scan/scan_amd64.go -+++ b/src/internal/runtime/gc/scan/scan_amd64.go -@@ -39,4 +39,5 @@ var avx512ScanPackedReqsMet = cpu.X86.HasAVX512VL && - cpu.X86.HasGFNI && - cpu.X86.HasAVX512BITALG && - cpu.X86.HasAVX512DQ && // for kmovb, see #79871 -- cpu.X86.HasAVX512VBMI -+ cpu.X86.HasAVX512VBMI && -+ cpu.X86.HasPOPCNT diff --git a/internal/rosa/package/go/package.az b/internal/rosa/package/go/package.az deleted file mode 100644 index 67154405..00000000 --- a/internal/rosa/package/go/package.az +++ /dev/null @@ -1,62 +0,0 @@ -package go { - description = "the Go programming language toolchain"; - website = "https://go.dev"; - anitya = 1227; - - version# = "1.26.6"; - source = remoteTar { - url = "https://go.dev/dl/go"+version+".src.tar.gz"; - checksum = "BJQz9rGJ7ElMsZGURH7lw48Hw0x88RwdQJpINMomtgGCMK3AtwGCxDRkLE9REh5r"; - compress = gzip; - }; - - patches = [ - // https://go.dev/issue/77674 - "746640.patch", - ]; - - env = [ - "CC=cc", - "GOCACHE=/tmp/gocache", - "GOROOT_BOOTSTRAP=/system/go", - "TMPDIR=/dev/shm/go", - ]; - - enterSource = true; - - exec = generic { - chdir = false; - build = ` -mkdir /work/system/ "${TMPDIR}" -cp -r . /work/system/go -cd /work/system/go/src/ -chmod -R +w .. - -sed -i \ - 's,/lib/ld-musl-`+linuxArch+`.so.1,/system/bin/linker,' \ - cmd/link/internal/`+arch+`/obj.go - -rm \ - os/root_unix_test.go \ - runtime/crash_cgo_test.go \ - cmd/cgo/internal/testsanitizers/tsan_test.go \ - cmd/cgo/internal/testsanitizers/cshared_test.go - -set +u -. ./make.bash "$@" --no-banner -set -u -`; - check = "bash run.bash --no-rebuild\n"; - install = ` -../bin/go tool dist banner # print build info - -mkdir /work/system/bin -ln -s \ - ../go/bin/go \ - ../go/bin/gofmt \ - /work/system/bin -`; - }; - - inputs = [ bash, go-bootstrap ]; -} |
