public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Fix rhbz#2398151, chromium FTBFS on EL9 with error: undefined symbol: __rust_no_alloc_shim_is_unstable
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : cc250835bd00c1cffdd99df0cb306e2a700a9346
Author : Than Ngo <than@redhat.com>
Date : 2025-09-26T13:56:25+02:00
Stats : +15/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/cc250835bd00c1cffdd99df0cb306e2a700a9346?branch=epel9-next
Log:
Fix rhbz#2398151, chromium FTBFS on EL9 with error: undefined symbol: __rust_no_alloc_shim_is_unstable
---
diff --git a/chromium-rust-no-alloc-shim-is-unstable.patch b/chromium-rust-no-alloc-shim-is-unstable.patch
index 563e0d1..6eea3be 100644
--- a/chromium-rust-no-alloc-shim-is-unstable.patch
+++ b/chromium-rust-no-alloc-shim-is-unstable.patch
@@ -1,6 +1,6 @@
-diff -up chromium-140.0.7339.185/build/rust/allocator/lib.rs.me chromium-140.0.7339.185/build/rust/allocator/lib.rs
---- chromium-140.0.7339.185/build/rust/allocator/lib.rs.me 2025-09-22 10:37:11.057152982 +0200
-+++ chromium-140.0.7339.185/build/rust/allocator/lib.rs 2025-09-22 14:38:10.367927121 +0200
+diff -up chromium-140.0.7339.207/build/rust/allocator/lib.rs.rust-no-alloc-shim-is-unstable chromium-140.0.7339.207/build/rust/allocator/lib.rs
+--- chromium-140.0.7339.207/build/rust/allocator/lib.rs.rust-no-alloc-shim-is-unstable 2025-09-22 21:21:29.000000000 +0200
++++ chromium-140.0.7339.207/build/rust/allocator/lib.rs 2025-09-26 13:51:35.967078280 +0200
@@ -89,6 +89,12 @@ mod both_allocators {
#[rustc_std_internal_symbol]
#[linkage = "weak"]
@@ -14,3 +14,15 @@ diff -up chromium-140.0.7339.185/build/rust/allocator/lib.rs.me chromium-140.0.7
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
+@@ -96,6 +102,11 @@ mod both_allocators {
+ #[linkage = "weak"]
+ static __rust_alloc_error_handler_should_panic: u8 = 0;
+
++ // Mangle the symbol name as rustc (1.84) expects on EL9
++ #[no_mangle]
++ #[linkage = "weak"]
++ static __rust_no_alloc_shim_is_unstable: u8 = 0;
++
+ // Mangle the symbol name as rustc expects.
+ #[rustc_std_internal_symbol]
+ #[allow(non_upper_case_globals)]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Fix rhbz#2398151, chromium FTBFS on EL9 with error: undefined symbol: __rust_no_alloc_shim_is_unstable Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox