public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] f44: Remove old rust_alloc_error_handler_should_panic patch
Date: Wed, 17 Jun 2026 07:30:48 GMT	[thread overview]
Message-ID: <178168144826.1.3689166576884834477.rpms-chromium-16216062fa5e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : f44
Commit : 16216062fa5eba0780c3a902989c2537c7b4857e
Author : Than Ngo <than@redhat.com>
Date   : 2026-06-16T16:29:07+02:00
Stats  : +0/-21 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/16216062fa5eba0780c3a902989c2537c7b4857e?branch=f44

Log:
Remove old rust_alloc_error_handler_should_panic patch

---
diff --git a/chromium-143-el9-rust_alloc_error_handler_should_panic.patch b/chromium-143-el9-rust_alloc_error_handler_should_panic.patch
deleted file mode 100644
index 190f1ab..0000000
--- a/chromium-143-el9-rust_alloc_error_handler_should_panic.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -up chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic chromium-142.0.7444.162/build/rust/allocator/lib.rs
---- chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic	2025-11-12 09:39:31.616713829 +0100
-+++ chromium-142.0.7444.162/build/rust/allocator/lib.rs	2025-11-14 11:43:32.115426831 +0100
-@@ -96,6 +96,13 @@ mod both_allocators {
-         0
-     }
- 
-+    // Mangle the symbol name as rustc (1.88) expects on EL9
-+    #[rustc_std_internal_symbol]
-+    #[linkage = "weak"]
-+    fn __rust_alloc_error_handler_should_panic() -> u8 {
-+        0
-+    }
-+
-     // Mangle the symbol name as rustc (1.84) expects on EL9
-     #[unsafe(no_mangle)]
-     #[linkage = "weak"]

diff --git a/chromium.spec b/chromium.spec
index 6f4a05b..e68faf3 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -386,10 +386,6 @@ Patch311: chromium-123-fstack-protector-strong.patch
 #    --> ../../build/rust/allocator/lib.rs:107:7
 Patch312: chromium-143-el9-rust-no-alloc-shim-is-unstable.patch
 
-# Fix FTBFS on EL9
-# - error: undefined symbol: __rust_alloc_error_handler_should_panic
-Patch313: chromium-143-el9-rust_alloc_error_handler_should_panic.patch
-
 # old rust version causes build error on el8:
 # error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
 Patch314: chromium-136-rust-skrifa-build-error.patch

                 reply	other threads:[~2026-06-17  7:30 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=178168144826.1.3689166576884834477.rpms-chromium-16216062fa5e@fedoraproject.org \
    --to=than@redhat.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