Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql13 for openSUSE:Factory checked in at 2025-12-18 18:36:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql13 (Old) and /work/SRC/openSUSE:Factory/.postgresql13.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql13" Thu Dec 18 18:36:25 2025 rev:40 rq:1323490 version:13.23 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql13/postgresql13.changes 2025-11-28 16:54:34.078418151 +0100 +++ /work/SRC/openSUSE:Factory/.postgresql13.new.1928/postgresql13.changes 2025-12-18 18:37:20.152443138 +0100 @@ -1,0 +2,6 @@ +Fri Dec 12 08:14:22 UTC 2025 - Guillaume GARDET <[email protected]> + +- Fix build on aarch64 with upstream commit 0dceba2: + * llvm-21-aarch64.patch + +------------------------------------------------------------------- New: ---- llvm-21-aarch64.patch ----------(New B)---------- New:- Fix build on aarch64 with upstream commit 0dceba2: * llvm-21-aarch64.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql13.spec ++++++ --- /var/tmp/diff_new_pack.6PMWUj/_old 2025-12-18 18:37:21.252489353 +0100 +++ /var/tmp/diff_new_pack.6PMWUj/_new 2025-12-18 18:37:21.264489856 +0100 @@ -218,6 +218,8 @@ %if %{with llvm} Patch10: postgresql-llvm-optional.patch Patch11: 0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch +# PATCH-FIX-UPSTREAM - commit 0dceba2 +Patch12: llvm-21-aarch64.patch %endif URL: https://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -550,6 +552,7 @@ %if %{with llvm} %patch -P 10 %patch -P 11 +%patch -P 12 -p1 %endif touch -r tmp configure rm tmp ++++++ llvm-21-aarch64.patch ++++++ >From 0dceba21d74f01e63aa690879b44808bbb74a9c3 Mon Sep 17 00:00:00 2001 From: Thomas Munro <[email protected]> Date: Sat, 22 Nov 2025 20:51:16 +1300 Subject: [PATCH] jit: Adjust AArch64-only code for LLVM 21. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-through: 14 Author: Holger Hoffstätte <[email protected]> Reviewed-by: Anthonin Bonnefoy <[email protected]> Discussion: https://postgr.es/m/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com --- src/backend/jit/llvm/llvmjit_wrap.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/backend/jit/llvm/llvmjit_wrap.cpp b/src/backend/jit/llvm/llvmjit_wrap.cpp index da850d67ab647..c31a57b8563e8 100644 --- a/src/backend/jit/llvm/llvmjit_wrap.cpp +++ b/src/backend/jit/llvm/llvmjit_wrap.cpp @@ -53,7 +53,14 @@ DEFINE_SIMPLE_CONVERSION_FUNCTIONS(llvm::orc::ObjectLayer, LLVMOrcObjectLayerRef LLVMOrcObjectLayerRef LLVMOrcCreateRTDyldObjectLinkingLayerWithSafeSectionMemoryManager(LLVMOrcExecutionSessionRef ES) { +#if LLVM_VERSION_MAJOR >= 21 + return wrap(new llvm::orc::RTDyldObjectLinkingLayer( + *unwrap(ES), [](const llvm::MemoryBuffer&) { + return std::make_unique<llvm::backport::SectionMemoryManager>(nullptr, true); + })); +#else return wrap(new llvm::orc::RTDyldObjectLinkingLayer( *unwrap(ES), [] { return std::make_unique<llvm::backport::SectionMemoryManager>(nullptr, true); })); +#endif } #endif
