Re: BUG #16696: Backend crash in llvmjit

Dmitry Marakasov <amdmi3@amdmi3.ru>

From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: pgsql-bugs@lists.postgresql.org
Date: 2020-11-02T21:45:09Z
Lists: pgsql-bugs
* PG Bug reporting form (noreply@postgresql.org) wrote:

> Environment details:
> - FreeBSD 12.1 amd64
> - PostgreSQL 13.0 (built from FreeBSD ports)
> - llvm-10.0.1 (build from FreeBSD ports)

My bad, it's actually llvm-9.0.1. Multiple llvm versions are installed on
the system, and PostgreSQL uses llvm9:

ldd /usr/local/lib/postgresql/llvmjit.so | grep LLVM
	libLLVM-9.so => /usr/local/llvm90/lib/libLLVM-9.so (0x800e00000)

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:              https://github.com/AMDmi3




Commits

  1. jit: Don't inline functions that access thread-locals.