Re: [PATCH] jit: fix build with LLVM-21
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Cc: Holger Hoffstätte <holger@applied-asynchrony.com>, Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers@postgresql.org
Date: 2025-11-22T08:37:38Z
Lists: pgsql-hackers
On Tue, Nov 18, 2025 at 4:06 AM Thomas Munro <thomas.munro@gmail.com> wrote: > Looks good so far. Will try to push this tomorrow. Pushed. Thanks Holger and Anthonin. > I got distracted trying to figure out why LLVM 22 is segfaulting in > llvm::orc::ExecutionSession::IL_emit(). It's not out ... yet. I was > worried that might be a clue about problems with the backported > SectionMemoryManager nonsense, but (un)fortunately it also still > crashes with the JITLink patch[1]. Will need to chase this down... Got a bit further with LLVM 22, let's see... (clues/ideas welcome). https://github.com/llvm/llvm-project/issues/169135