public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm19] rawhide: Disable use of gold on f46
@ 2026-09-11 12:34 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-11 12:34 UTC (permalink / raw)
  To: git-commits

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.

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

only message in thread, other threads:[~2026-09-11 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 12:34 [rpms/llvm19] rawhide: Disable use of gold on f46 

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