Re: [PATCH] jit: fix build with LLVM-21

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
Cc: Holger Hoffstätte <holger(at)applied-asynchrony(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] jit: fix build with LLVM-21
Date: 2025-11-22 08:37:38
Message-ID: CA+hUKGKDQ+UgPjYAb-fViH=XP+=bKd6QYJuOEGNvo61rUgO0zQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 18, 2025 at 4:06 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2025-11-22 08:54:26 Re: headerscheck ccache support
Previous Message Álvaro Herrera 2025-11-22 08:37:31 Re: headerscheck ccache support