public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cargo-c] f43: Disable debuginfo entirely on i686
@ 2026-08-20 16:12 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-20 16:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-cargo-c
            Branch : f43
            Commit : c9ff6f87bcbe4e13e1e512af9b57559e9e5e1400
            Author : Fabio Valentini <decathorpe@gmail.com>
            Date   : 2026-08-20T17:47:53+02:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cargo-c/c/c9ff6f87bcbe4e13e1e512af9b57559e9e5e1400?branch=f43

            Log:
            Disable debuginfo entirely on i686

Compilation now consistently hits OOM / memory allocation failures
with LLVM 21 even with only `-Cdebuginfo=1`. It looks like LLVM 22
requires slightly less memory, so this could be revisited after the
Fedora 43 EOL date.

---
diff --git a/rust-cargo-c.spec b/rust-cargo-c.spec
index 53fd7a6..b50e727 100644
--- a/rust-cargo-c.spec
+++ b/rust-cargo-c.spec
@@ -3,7 +3,8 @@
 
 # reduce debuginfo verbosity to work around OOM problems on 32-bit arches
 %ifarch %{ix86}
-%global rustflags_debuginfo 1
+%global debug_package %{nil}
+%global rustflags_debuginfo 0
 %endif
 
 %global crate cargo-c

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

only message in thread, other threads:[~2026-08-20 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 16:12 [rpms/rust-cargo-c] f43: Disable debuginfo entirely on i686 Fabio Valentini

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