public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikita Popov <npopov@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/llvm] rawhide: Remove gold dependency in rawhide
Date: Tue, 08 Sep 2026 12:50:24 GMT [thread overview]
Message-ID: <178887182494.1.6963707881899873258.rpms-llvm-98d8045790e3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/llvm
Branch : rawhide
Commit : 98d8045790e39de45708708be263ce992a65c616
Author : Nikita Popov <npopov@redhat.com>
Date : 2026-09-07T09:59:16+02:00
Stats : +5/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/llvm/c/98d8045790e39de45708708be263ce992a65c616?branch=rawhide
Log:
Remove gold dependency in rawhide
binutils-gold has been dropped from rawhide in:
https://src.fedoraproject.org/rpms/binutils/c/e286ac089b76ce6c1f3f6b925348920ba5de30ca?branch=rawhide
Unlikely previous cases, it looks like this time is intentional.
Additionally, https://github.com/llvm/llvm-project/pull/130981
migrated most tests using ld.gold to using ld.bfd instead, so
also disable gold for LLVM >= 24. This is so this dependency gets
phased out for all operating systems in the future.
---
diff --git a/llvm.spec b/llvm.spec
index 11cbf27..9e3bbbd 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -13,8 +13,10 @@
# LLVMgold is a BFD plugin, not specific to the (deprecated) gold linker;
# however, some of its tests do use gold, which is packaged separately
-# since RHEL 9 but dropped in RHEL 11.
-%if %{undefined rhel} || (0%{?rhel} > 8 && 0%{?rhel} < 11)
+# since RHEL 9 but dropped in RHEL 11 and Fedora 46.
+# Since LLVM 24, most tests use ld.bfd instead, and gold is no longer needed.
+%if %{maj_ver} < 24
+%if (0%{?rhel} > 8 && 0%{?rhel} < 11) || (%{defined fedora} && 0%{?fedora} < 46)
%define gold_arches %{ix86} x86_64 aarch64 %{power64} s390x
%ifarch %{gold_arches}
%bcond_without gold
@@ -22,6 +24,7 @@
%bcond_with gold
%endif
%endif
+%endif
# Enable this in order to disable a lot of features and get to clang as fast
# as possible. This is useful in order to bisect issues affecting LLVM, clang
reply other threads:[~2026-09-08 12:50 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=178887182494.1.6963707881899873258.rpms-llvm-98d8045790e3@fedoraproject.org \
--to=npopov@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