public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cargo-c] epel10: Disable debuginfo entirely on i686
Date: Thu, 20 Aug 2026 16:31:13 GMT	[thread overview]
Message-ID: <178724347306.1.6591963343785358709.rpms-rust-cargo-c-c9ff6f87bcbe@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-cargo-c
            Branch : epel10
            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=epel10

            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

                 reply	other threads:[~2026-08-20 16:31 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=178724347306.1.6591963343785358709.rpms-rust-cargo-c-c9ff6f87bcbe@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=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