public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/llvm19] rawhide: Disable use of gold on f46
Date: Fri, 11 Sep 2026 12:34:35 GMT [thread overview]
Message-ID: <178913007547.1.18143372030017486290.rpms-llvm19-162966b9ee7e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/llvm19
Branch : rawhide
Commit : 162966b9ee7e1e577d06f7a7e1f6bda822f166a0
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-09-11T14:27:51+02:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/llvm19/c/162966b9ee7e1e577d06f7a7e1f6bda822f166a0?branch=rawhide
Log:
Disable use of gold on f46
---
diff --git a/llvm19.spec b/llvm19.spec
index 2046d68..9d7f104 100644
--- a/llvm19.spec
+++ b/llvm19.spec
@@ -11,13 +11,20 @@
%endif
#endregion version
-# Components enabled if supported by target architecture:
+# 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 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
%else
%bcond_with gold
%endif
+%endif
+%endif
# Build compat packages llvmN instead of main package for the current LLVM
# version. Used on Fedora.
reply other threads:[~2026-09-11 12:34 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=178913007547.1.18143372030017486290.rpms-llvm19-162966b9ee7e@fedoraproject.org \
--to=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