public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binutils] rawhide: No longer build the GOLD linker by default
@ 2026-09-04 11:26 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2026-09-04 11:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/binutils
Branch : rawhide
Commit : e286ac089b76ce6c1f3f6b925348920ba5de30ca
Author : Nick Clifton <nickc@redhat.com>
Date : 2026-09-04T12:21:14+01:00
Stats : +11/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/binutils/c/e286ac089b76ce6c1f3f6b925348920ba5de30ca?branch=rawhide
Log:
No longer build the GOLD linker by default
---
diff --git a/binutils.spec b/binutils.spec
index 16693e0..4b3d86f 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -7,7 +7,7 @@ Name: binutils%{?_with_debug:-debug}
# The variable %%{source} (see below) should be set to indicate which of these
# origins is being used.
Version: 2.47.50
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@@ -22,7 +22,7 @@ URL: https://sourceware.org/binutils
# --with debug Build without optimizations and without splitting the debuginfo into a separate file.
# --without debuginfod Disable support for debuginfod.
# --without docs Skip building documentation. Default is with docs, except when building a cross binutils.
-# --without gold Disable building of the GOLD linker.
+# --with gold Enable the building of the GOLD linker.
# --without gprofng Do not build the GprofNG profiler.
# --without systemzlib Use the binutils version of zlib. Default is to use the system version.
# --without testsuite Do not run the testsuite. Default is to run it.
@@ -158,12 +158,13 @@ URL: https://sourceware.org/binutils
# Default: Do not create cross targeted versions of the binutils.
%bcond crossbuilds 0
-# Note - in the future the gold linker will become deprecated in Fedora.
-# And it will be deprecated in RHEL-11.
+# GOLD is deprecated in RHEL-11+ and Fedora 46+
%if 0%{?rhel} >= 11
%bcond gold 0
+%elif 0%{?fedora} >= 46
+%bcond gold 0
%else
-# RISC-V does not have ld.gold thus disable by default.
+# Gold does not support the RISC-V architecture.
%ifarch riscv64
%bcond gold 0
%else
@@ -1261,10 +1262,12 @@ EOH
cat ld.lang >> binutils.lang
fi
+%if %{with gold}
if [ -x gold/ld-new ]; then
%find_lang gold
cat gold.lang >> binutils.lang
fi
+%endif
popd
}
@@ -1500,6 +1503,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
+* Fri Sep 04 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-7
+- Disable the gold linker by default.
+
* Tue Sep 01 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-6
- Rebase to commit 48c933a69a8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:26 [rpms/binutils] rawhide: No longer build the GOLD linker by default Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox