public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/binutils] rawhide: No longer build the GOLD linker by default
Date: Fri, 04 Sep 2026 11:26:39 GMT [thread overview]
Message-ID: <178852119924.1.3947097388542547967.rpms-binutils-e286ac089b76@fedoraproject.org> (raw)
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
reply other threads:[~2026-09-04 11:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178852119924.1.3947097388542547967.rpms-binutils-e286ac089b76@fedoraproject.org \
--to=nickc@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox