BUG #18132: llvm-jit does not build with LLVM 17

Started by PG Bug reporting formover 2 years ago2 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18132
Logged by: Charlie Li
Email address: vishwin@freebsd.org
PostgreSQL version: 16.0
Operating system: FreeBSD
Description:

LLVM 17 removed the Legacy Pass Manager, which removed all except one header
in <llvm-c/Transforms> that llvmjit.c (and possibly other places) still
reference:
https://github.com/llvm/llvm-project/commit/f7ca01333214f934c580c162afdee933e7430b6c

#2Thomas Munro
thomas.munro@gmail.com
In reply to: PG Bug reporting form (#1)
Re: BUG #18132: llvm-jit does not build with LLVM 17

On Mon, Sep 25, 2023 at 8:07 AM PG Bug reporting form
<noreply@postgresql.org> wrote:

The following bug has been logged on the website:

Bug reference: 18132
Logged by: Charlie Li
Email address: vishwin@freebsd.org
PostgreSQL version: 16.0
Operating system: FreeBSD
Description:

LLVM 17 removed the Legacy Pass Manager, which removed all except one header
in <llvm-c/Transforms> that llvmjit.c (and possibly other places) still
reference:
https://github.com/llvm/llvm-project/commit/f7ca01333214f934c580c162afdee933e7430b6c

Hi Charlie,

We have patches ready for that, and I plan to push them next week.
Review/comments welcome.

/messages/by-id/CA+hUKG+UQq_qZWuAd8Mv=RpL4sACEb=4UNgNL2--=xZHixVspg@mail.gmail.com