llvmjit.so: undefined symbol: LLVMBuildGEP Fedora 38

Kieran McCusker <kieran.mccusker@gmail.com>

From: Kieran McCusker <kieran.mccusker@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2023-05-18T08:46:02Z
Lists: pgsql-bugs
Hi

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?

Many thanks

Kieran