guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a9a69db46b29d76102efe98b52fed446d5b3e8e4
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Oct 16 10:19:17 2025 +0300
gnu: go-1.20: Build without binutils-gold.
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Remove gold.
Change-Id: I88d39932063efe53da21c3cc51458d05423a9cae
---
gnu/packages/golang.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 168a2d4efe..4e53d49a7e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -632,9 +632,10 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
;; as well as the upstream discussion of this topic:
;; https://go.dev/issue/44505
;; We continue to use gccgo-12 since it provides go-1.18.
+ ;; We remove gold since it causes test failures on aarch64-linux.
(if (member (%current-system) (package-supported-systems go-1.4))
(alist-replace "go" (list go-1.17) (package-native-inputs go-1.17))
- (package-native-inputs go-1.17)))
+ (alist-delete "gold" (package-native-inputs go-1.17))))
(properties
`((compiler-cpu-architectures
("armhf" ,@%go-1.17-arm-micro-architectures)