pgsql: jit: Adjust AArch64-only code for LLVM 21. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: jit: Adjust AArch64-only code for LLVM 21.
Date
Msg-id E1vMivX-000mKf-1O@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
jit: Adjust AArch64-only code for LLVM 21.

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 <holger@applied-asynchrony.com>
Reviewed-by: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://postgr.es/m/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0dceba21d74f01e63aa690879b44808bbb74a9c3

Modified Files
--------------
src/backend/jit/llvm/llvmjit_wrap.cpp | 7 +++++++
1 file changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Add 'make check-tests' behavior to the meson based builds
Next
From: Thomas Munro
Date:
Subject: pgsql: jit: Adjust AArch64-only code for LLVM 21.