diff --git a/31108.patch b/31108.patch deleted file mode 100644 index 9932e7d186a5b995a95527a818559a0439b80aff..0000000000000000000000000000000000000000 --- a/31108.patch +++ /dev/null @@ -1,61 +0,0 @@ -From afe6147af2be4093fbc5e69299e86015982658ec Mon Sep 17 00:00:00 2001 -From: Icenowy Zheng -Date: Tue, 10 Sep 2024 17:00:30 +0800 -Subject: [PATCH] gallivm: use JITLink unconditionally with ORCJIT - -RuntimeDyld is getting deprecated along with MCJIT, so although it's -possible to use it with ORCJIT now, using JITLink seems to be better. - -Drop the condition for enabling JITLink, to enforce it everywhere. - -Signed-off-by: Icenowy Zheng ---- - src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp | 15 +-------------- - 1 file changed, 1 insertion(+), 14 deletions(-) - -diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp -index f38db3a57fb03..202eaca4683b3 100644 ---- a/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp -+++ b/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp -@@ -58,12 +58,6 @@ - /* conflict with ObjectLinkingLayer.h */ - #include "util/u_memory.h" - --#if DETECT_ARCH_RISCV64 == 1 || DETECT_ARCH_RISCV32 == 1 || DETECT_ARCH_LOONGARCH64 == 1 || (defined(_WIN32) && LLVM_VERSION_MAJOR >= 15) --/* use ObjectLinkingLayer (JITLINK backend) */ --#define USE_JITLINK --#endif --/* else use old RTDyldObjectLinkingLayer (RuntimeDyld backend) */ -- - namespace { - - class LPObjectCacheORC : public llvm::ObjectCache { -@@ -334,24 +328,17 @@ LPJit::LPJit() :jit_dylib_count(0) { - tm = wrap(tm_unique.get()); - - /* Create an LLJIT instance with an ObjectLinkingLayer (JITLINK) -- * or RuntimeDyld as the base layer. -+ * as the base layer. - * intel & perf listeners are not supported by ObjectLinkingLayer yet - */ - lljit = ExitOnErr( - LLJITBuilder() - .setJITTargetMachineBuilder(std::move(JTMB)) --#ifdef USE_JITLINK - .setObjectLinkingLayerCreator( - [&](ExecutionSession &ES, const llvm::Triple &TT) { - return std::make_unique( - ES, ExitOnErr(llvm::jitlink::InProcessMemoryManager::Create())); - }) --#else --#if LLVM_USE_INTEL_JITEVENTS -- .RegisterJITEventListener( -- llvm::JITEventListener::createIntelJITEventListener()) --#endif --#endif - .create()); - - LLVMOrcIRTransformLayerRef TL = wrap(&lljit->getIRTransformLayer()); --- -GitLab - diff --git a/mesa-24.3.1.tar.xz b/mesa-24.3.2.tar.xz similarity index 73% rename from mesa-24.3.1.tar.xz rename to mesa-24.3.2.tar.xz index 9da37adfe4d61b7182d469e38ee32c77dc8ce853..910c9a68c1af2b861b87e56aeaf0fe2e39dc3a17 100644 Binary files a/mesa-24.3.1.tar.xz and b/mesa-24.3.2.tar.xz differ diff --git a/mesa.spec b/mesa.spec index 5ba87ca48dfc46d1879c0c05048ea939b2d083ad..63f7df9496b9154aecc068bc8edb2a1d37bfe026 100644 --- a/mesa.spec +++ b/mesa.spec @@ -64,7 +64,7 @@ Name: mesa Summary: Mesa graphics libraries -Version: 24.3.1 +Version: 24.3.2 Release: 1 License: MIT @@ -73,7 +73,6 @@ Source0: https://archive.mesa3d.org/%{name}-%{version}.tar.xz # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31108/ # adding for resolving libepoxy's testing issues on x86_64 & aarch64 -Patch1: 31108.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -596,6 +595,10 @@ done %endif %changelog +* Mon Mar 10 2025 liudy -24.3.2-1 +- fix read/write resource confusion in afbc_pack +- fix potential memory leak + * Thu Dec 05 2024 Funda Wang - 24.3.1-1 - update to 24.3.1