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: Restore building the gold linker
Date: Thu, 13 Aug 2026 09:00:52 GMT	[thread overview]
Message-ID: <178661165253.1.368324910178627095.rpms-binutils-9f66e09750c7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/binutils
Branch : rawhide
Commit : 9f66e09750c71608fb0a9ea7d232fd36be8f7ec1
Author : Nick Clifton <nickc@redhat.com>
Date   : 2026-08-13T10:00:35+01:00
Stats  : +16/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/binutils/c/9f66e09750c71608fb0a9ea7d232fd36be8f7ec1?branch=rawhide

Log:
Restore building the gold linker

---
diff --git a/binutils.spec b/binutils.spec
index 3d05813..9c81204 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: 1%{?dist}
+Release: 2%{?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
 
@@ -156,8 +156,17 @@ URL: https://sourceware.org/binutils
 # Default: Use the libztsd-devel library.
 %bcond_without zstd
 
-# The gold linker is now deprecated.
+# Note - in the future the gold linker will become deprecated.
+%if 0%{?rhel} >= 11
+%bcond_with gold
+%else
+%ifnarch riscv64
 %bcond_without gold
+%else
+# RISC-V does not have ld.gold thus disable by default.
+%bcond_with gold
+%endif
+%endif
 
 # Allow the user to override the compiler used to build the binutils.
 # The default build compiler is gcc if %%toolchain is not clang.
@@ -1365,8 +1374,8 @@ exit 0
 %{_bindir}/[!l]*
 # %%verify(symlink) does not work for some reason, so using "owner" instead.
 %verify(owner) %{_bindir}/ld
-# %%verify(mtime) does not work, probably because of the alternatives command in the %%post stage, so using "owner" instead.  (#2277349)
-%verify(owner) %{_bindir}/ld.bfd
+# %%verify(mtime) does not work, probably because of the alternatives command in the %%post stage, so using "not mtime" instead.  (#2277349)(RHEL-238406)
+%verify(not mtime) %{_bindir}/ld.bfd
 
 %if %{with gprofng}
 %exclude %{_bindir}/gp-*
@@ -1492,6 +1501,9 @@ exit 0
 
 #----------------------------------------------------------------------------
 %changelog
+* Thu Aug 13 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-2
+- Re-enable the gold linker - for now.
+
 * Wed Aug 12 2026 Nick Clifton <nickc@redhat.com> - 2.47.50-1
 - Rebase to commit 4e8ba93fdb2.
 - Disable the gold linker for Rawhide as well.

                 reply	other threads:[~2026-08-13  9:00 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=178661165253.1.368324910178627095.rpms-binutils-9f66e09750c7@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