From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Kieran McCusker <kieran(dot)mccusker(at)gmail(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: llvmjit.so: undefined symbol: LLVMBuildGEP Fedora 38 |
Date: | 2023-05-18 22:15:24 |
Message-ID: | CA+hUKG+x+0_-g+AN5f-M+MiSMuFmKJyZi3JCGYMoqphCJvMJHg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, May 18, 2023 at 8:46 PM Kieran McCusker
<kieran(dot)mccusker(at)gmail(dot)com> wrote:
> I have Postgresql 15.3 installed from postgresql.org running on Fedora 38.
>
> If I run a query that starts JIT I get an error message
>
> ERROR: could not load library "/usr/pgsql-15/lib/llvmjit.so": /usr/pgsql-15/lib/llvmjit.so: undefined symbol: LLVMBuildGEP CONTEXT: parallel worker
>
> Is this a known issue?
LLVM 16 needs us to call LLVMBuildGEP2 instead (along with various
other changes). I'm actively working on the patch that would fix that
right now; unfortunately I didn't manage to get it ready in time for
the PostgreSQL 15.3 release that just dropped but I'm getting close...
You could set jit=off or figure out how to use LLVM 15 instead (I
don't know much about Fedora, except that it's always first to switch
to new LLVM releases that happen every 6 months).
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2023-05-19 05:41:22 | Re: BUG #17884: gist_page_items() crashes for a non-leaf page of an index with non-key columns |
Previous Message | Alexander Lakhin | 2023-05-18 14:00:00 | Re: BUG #17695: Failed Assert in logical replication snapbuild. |