commit: 44f89a6708d5e69c91e609c715bf1d276b0f9d55 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Mon Sep 8 20:09:35 2025 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Mon Sep 8 20:12:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f89a67
dev-lang/go: disable dwarf5 generation for now Bug: https://bugs.gentoo.org/961745 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-lang/go/files/go-1.25-no-dwarf5.patch | 15 +++++++++++++++ dev-lang/go/go-1.25.1.ebuild | 1 + 2 files changed, 16 insertions(+) diff --git a/dev-lang/go/files/go-1.25-no-dwarf5.patch b/dev-lang/go/files/go-1.25-no-dwarf5.patch new file mode 100644 index 000000000000..72c2bab24ad3 --- /dev/null +++ b/dev-lang/go/files/go-1.25-no-dwarf5.patch @@ -0,0 +1,15 @@ +diff --git a/go.env b/go.env +index 6ff2b921d4..e8959a72c7 100644 +--- a/go.env ++++ b/go.env +@@ -2,6 +2,10 @@ + # Values set by 'go env -w' and written to the user's go/env file override these. + # The environment overrides everything else. + ++#This can be removed when debugedit is fixed to support dwarf5 ++# https://sourceware.org/bugzilla/show_bug.cgi?id=33204 ++GOEXPERIMENT=nodwarf5 ++ + # Use the Go module mirror and checksum database by default. + # See https://proxy.golang.org for details. + GOPROXY=https://proxy.golang.org,direct diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild index ea320f14b604..1461ffc59218 100644 --- a/dev-lang/go/go-1.25.1.ebuild +++ b/dev-lang/go/go-1.25.1.ebuild @@ -67,6 +67,7 @@ go_cross_compile() { PATCHES=( "${FILESDIR}"/go-1.24-skip-gdb-tests.patch "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch + "${FILESDIR}"/go-1.25-no-dwarf5.patch "${FILESDIR}"/go-never-download-newer-toolchains.patch )
