public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binutils] rawhide: Disable gold for loongarch64.
@ 2026-10-14  9:13 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2026-10-14  9:13 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/binutils
Branch : rawhide
Commit : 3f9bdd67a839a5701089299dc5a8350726452a01
Author : Nick Clifton <nickc@redhat.com>
Date   : 2026-10-14T10:12:56+01:00
Stats  : +12/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/binutils/c/3f9bdd67a839a5701089299dc5a8350726452a01?branch=rawhide

Log:
Disable gold for loongarch64.

---
diff --git a/binutils.spec b/binutils.spec
index 6ffa11b..e208664 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: 16%{?dist}
+Release: 17%{?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
 
@@ -195,12 +195,7 @@ URL: https://sourceware.org/binutils
 %elif 0%{?fedora} >= 46
 # Fedora users on the other hand do get cross compilation capability
 # by default.
-%ifarch riscv64
-# Keep things simple for the Risc-V target though...
-%bcond crossbuilds 0
-%else
 %bcond crossbuilds 1
-%endif
 %else
 # Before F46 cross binutils builds were handled exclusively by the
 # cross-binutils package.
@@ -213,8 +208,8 @@ URL: https://sourceware.org/binutils
 %elif 0%{?fedora} >= 46
 %bcond gold 0
 %else
-# Gold does not support the RISC-V architecture.
-%ifarch riscv64
+# Gold does not support the RISC-V or LoongArch architectures.
+%ifarch riscv64 loongarch64
 %bcond gold 0
 %else
 %bcond gold 1
@@ -600,7 +595,7 @@ of Linux applications.
 %global linux_system   linux-gnu
 
 # The list of cross targets to build.
-%global cross_targets  aarch64-%{redhat_system} ppc64le-%{redhat_system} s390x-%{redhat_system} x86_64-%{redhat_system} i686-%{redhat_system}
+%global cross_targets  aarch64-%{redhat_system} i686-%{redhat_system} ppc64le-%{redhat_system} s390x-%{redhat_system} x86_64-%{redhat_system}
 
 %package -n cross-binutils-aarch64
 Summary: Cross targeted AArch64 binutils for developer use.  Not intended for production.
@@ -624,6 +619,7 @@ BuildRequires: autoconf automake perl sed coreutils make gcc findutils gcc-c++
 This package contains an AArch64 cross targeted version of the binutils for
 use by developers.  It is NOT INTENDED FOR PRODUCTION use.
 
+#----------------------------------------------------------------------------
 
 %package -n cross-binutils-ppc64le
 Summary: Cross targeted PPC64LE binutils for developer use.  Not intended for production.
@@ -646,6 +642,7 @@ BuildRequires: autoconf automake perl sed coreutils make gcc findutils gcc-c++
 This package contains a PPC64LE cross targeted version of the binutils for
 use by developers.  It is NOT INTENDED FOR PRODUCTION use.
 
+#----------------------------------------------------------------------------
 
 %package -n cross-binutils-s390x
 Summary: Cross targeted S390X binutils for developer use.  Not intended for production.
@@ -668,6 +665,8 @@ BuildRequires: autoconf automake perl sed coreutils make gcc findutils gcc-c++
 This package contains a S390X cross targeted version of the binutils for
 use by developers.  It is NOT INTENDED FOR PRODUCTION use.
 
+#----------------------------------------------------------------------------
+
 %ifarch %{ix86}
 %package -n cross-binutils-i686
 Summary: Cross targeted i686 binutils for developer use.  Not intended for production.
@@ -1776,6 +1775,10 @@ exit 0
 
 #----------------------------------------------------------------------------
 %changelog
+
+* Wed Oct 14 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 2.47.50-17
+- Disable gold for loongarch64.
+
 * Tue Oct 13 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 2.47.50-16
 - Fix an incorrect pushd when the testsuite is disabled.
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-14  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14  9:13 [rpms/binutils] rawhide: Disable gold for loongarch64 Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox