Re: Failed assertion with jit enabled

2025-02-05 Thread Bertrand Drouvot
Hi, On Wed, Feb 05, 2025 at 06:58:54PM +0100, Álvaro Herrera wrote: > On 2025-Feb-05, Bertrand Drouvot wrote: > > > As a default I also always use "maintainer-clean" but it looks like it does > > not > > remove llvmjit.so from the installation directory: is that a miss? > > Hmm, "make uninstall

Re: Failed assertion with jit enabled

2025-02-05 Thread Andres Freund
Hi, On 2025-02-05 13:07:58 -0500, Tom Lane wrote: > Bertrand Drouvot writes: > > I did look more closely (knowing that it works for you) and the issue is > > linked > > to not using --with-llvm. Inded, I used to use --with-llvm but removed it > > some > > time ago for testing. > > So the failed

Re: Failed assertion with jit enabled

2025-02-05 Thread Tom Lane
Bertrand Drouvot writes: > I did look more closely (knowing that it works for you) and the issue is > linked > to not using --with-llvm. Inded, I used to use --with-llvm but removed it some > time ago for testing. > So the failed build was not using --with-llvm and was relying on an old > versio

Re: Failed assertion with jit enabled

2025-02-05 Thread Álvaro Herrera
On 2025-Feb-05, Bertrand Drouvot wrote: > As a default I also always use "maintainer-clean" but it looks like it does > not > remove llvmjit.so from the installation directory: is that a miss? Hmm, "make uninstall" is supposed to remove things from the install directory, but maintainer-clean is

Re: Failed assertion with jit enabled

2025-02-05 Thread Bertrand Drouvot
Hi, On Wed, Feb 05, 2025 at 10:51:17AM -0500, Tom Lane wrote: > Bertrand Drouvot writes: > > I was doing some tests and managed to trigger a failed assertion with jit > > enabled. > > > The test can be simplified to: > > > postgres=# select count(*) from genera

Re: Failed assertion with jit enabled

2025-02-05 Thread Tom Lane
Bertrand Drouvot writes: > I was doing some tests and managed to trigger a failed assertion with jit > enabled. > The test can be simplified to: > postgres=# select count(*) from generate_series(1,1000); > server closed the connection unexpectedly Hmm, works for me on today

Failed assertion with jit enabled

2025-02-05 Thread Bertrand Drouvot
Hi hackers, I was doing some tests and managed to trigger a failed assertion with jit enabled. The test can be simplified to: postgres=# select count(*) from generate_series(1,1000); server closed the connection unexpectedly This probably means the server terminated abnormally