public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/prrte] rawhide: Waive rpminspect annocheck lto check
@ 2026-09-18 23:40 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-09-18 23:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/prrte
            Branch : rawhide
            Commit : 4add1ed2de11648747ae25ae77a62dd3dd074c5c
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-09-14T10:02:14+02:00
            Stats  : +13/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/prrte/c/4add1ed2de11648747ae25ae77a62dd3dd074c5c?branch=rawhide

            Log:
            Waive rpminspect annocheck lto check

PRRTE's configure deliberately strips all -flto* flags because LTO's
whole-program view conflicts with PRRTE's MCA plugin architecture
(components are dlopen()'d at runtime). None of PRRTE's binaries are
ever built with LTO by design, so skip annocheck's lto test rather
than waiving it file by file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---
diff --git a/rpminspect.yaml b/rpminspect.yaml
index 5a206dc..4ed7d02 100644
--- a/rpminspect.yaml
+++ b/rpminspect.yaml
@@ -1,4 +1,17 @@
 ---
+# PRRTE's configure explicitly strips all -flto* flags (see
+# _PRTE_CHECK_LTO_FLAG in config/prte_check_cflags.m4) because LTO's
+# whole-program view conflicts with PRRTE's MCA plugin architecture,
+# where components are dlopen()'d at runtime. So none of PRRTE's
+# binaries are ever built with LTO, by design. Skip annocheck's lto
+# test rather than waiving it file by file.
+# TODO: Try to remove this in the future after rebasing to at least upstream
+# v4.0.0 containing commit 2f9b12bee564 ("Add static component pointers")
+# and building against PMIx with PMIX_CAP_LTO capability in pmix_version.h.
+annocheck:
+  jobs:
+    - hardened: --skip-lto
+
 # prrte's oob/tcp and ras/slurm components use legacy IPv4-only functions
 # (src/mca/oob/tcp/oob_tcp_component.c, src/mca/ras/slurm/ras_slurm_module.c).
 # These are upstream code paths that would need a real IPv6-aware rewrite

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

only message in thread, other threads:[~2026-09-18 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 23:40 [rpms/prrte] rawhide: Waive rpminspect annocheck lto check Michal Schmidt

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