Files
gentoo/dev-libs/jemalloc/files/jemalloc-5.3.0-dont-call-libstdcxx-internals.patch
Arsen Arsenović 4b929d70d6 dev-libs/jemalloc: Fix build failure on GCC 16
The library was calling libstdc++ internal functions.  They moved.

Closes: https://bugs.gentoo.org/967868
Thanks-to: Ted Rodgers <ted.d.rodgers@gmail.com>
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
2026-02-05 15:30:53 +01:00

28 lines
681 B
Diff

https://bugs.gentoo.org/967868
From 5428f5818645a1181a61e37fbe753bf68dbd07af Mon Sep 17 00:00:00 2001
From: Ted Rodgers <ted.d.rodgers@gmail.com>
Date: Mon, 22 Dec 2025 23:16:12 -0500
Subject: [PATCH] Bug 967868: jemalloc_cpp.cpp patch remove compiler internal
detail
---
src/jemalloc_cpp.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/jemalloc_cpp.cpp b/src/jemalloc_cpp.cpp
index 451655f..d90a9f5 100644
--- a/src/jemalloc_cpp.cpp
+++ b/src/jemalloc_cpp.cpp
@@ -87,7 +87,7 @@ handleOOM(std::size_t size, bool nothrow) {
}
if (ptr == nullptr && !nothrow)
- std::__throw_bad_alloc();
+ throw std::bad_alloc();
return ptr;
}
--
2.52.0