public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/llvm] rawhide: flang: Add libgcc as requirement
@ 2026-07-24 19:20 Tulio Magno Quites Machado Filho
  0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2026-07-24 19:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/llvm
            Branch : rawhide
            Commit : b1afd798d5935a1686536e80e2fcacd512126a76
            Author : Tulio Magno Quites Machado Filho <tuliom@redhat.com>
            Date   : 2026-07-23T13:40:36-03:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/llvm/c/b1afd798d5935a1686536e80e2fcacd512126a76?branch=rawhide

            Log:
            flang: Add libgcc as requirement

Most programs compiled by flang link to libgcc. Most of the time we
don't see this because other packages also install libgcc, but some
containers/sandboxes come with a very limited number of packages,
leaving libgcc uninstalled, e.g. TF when testing official packages.

---
diff --git a/llvm.spec b/llvm.spec
index e9d0894..013a11b 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1328,6 +1328,9 @@ Requires: %{pkg_name_clang}-resource-filesystem%{?_isa} = %{version}-%{release}
 # flang implicitly calls ld.bfd when linking and depends on the gcc runtime objects.
 Requires: binutils
 Requires: gcc
+# While flang itself does not require libgcc, most programs compiled by flang
+# will need libgcc.
+Requires: libgcc
 # Up to version 17.0.6-1, flang used to provide a flang-devel package.
 # This changed in 17.0.6-2 and all development-related files are now
 # distributed in the main flang package.

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

only message in thread, other threads:[~2026-07-24 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24 19:20 [rpms/llvm] rawhide: flang: Add libgcc as requirement Tulio Magno Quites Machado Filho

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