Re: broken JIT support on Fedora 40 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: broken JIT support on Fedora 40
Date
Msg-id CAFj8pRC6yh7=ZacthNjAnS35iLv8PzQD59S-L9FpR7YCK+pxOg@mail.gmail.com
Whole thread Raw
In response to Re: broken JIT support on Fedora 40  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: broken JIT support on Fedora 40
List pgsql-hackers
Hi

čt 14. 3. 2024 v 19:20 odesílatel Robert Haas <robertmhaas@gmail.com> napsal:
On Wed, Mar 6, 2024 at 1:54 AM Pavel Stehule <pavel.stehule@gmail.com> wrote:
> after today update, the build with --with-llvm produces broken code, and make check fails with crash
>
>     Upgrade    hwdata-0.380-1.fc40.noarch                           @updates-testing
>     Upgraded   hwdata-0.379-1.fc40.noarch                           @@System
>     Upgrade    llvm-18.1.0~rc4-1.fc40.x86_64                        @updates-testing
>     Upgraded   llvm-17.0.6-6.fc40.x86_64                            @@System
>     Upgrade    llvm-devel-18.1.0~rc4-1.fc40.x86_64                  @updates-testing
>     Upgraded   llvm-devel-17.0.6-6.fc40.x86_64                      @@System
>     Upgrade    llvm-googletest-18.1.0~rc4-1.fc40.x86_64             @updates-testing
>     Upgraded   llvm-googletest-17.0.6-6.fc40.x86_64                 @@System
>     Upgrade    llvm-libs-18.1.0~rc4-1.fc40.i686                     @updates-testing
>     Upgraded   llvm-libs-17.0.6-6.fc40.i686                         @@System
>     Upgrade    llvm-libs-18.1.0~rc4-1.fc40.x86_64                   @updates-testing
>     Upgraded   llvm-libs-17.0.6-6.fc40.x86_64                       @@System
>     Upgrade    llvm-static-18.1.0~rc4-1.fc40.x86_64                 @updates-testing
>     Upgraded   llvm-static-17.0.6-6.fc40.x86_64                     @@System
>     Upgrade    llvm-test-18.1.0~rc4-1.fc40.x86_64                   @updates-testing
>     Instalovat llvm17-libs-17.0.6-7.fc40.i686                       @updates-testing
>     Instalovat llvm17-libs-17.0.6-7.fc40.x86_64                     @updates-testing

I don't know anything about LLVM, but somehow I'm guessing that people
who do will need more detail than this in order to be able to fix the
problem. I see that support for LLVM 18 was added in commit
d282e88e50521a457fa1b36e55f43bac02a3167f on January 18th; perhaps you
were building from an older commit?

I repeated build and check today, fresh master, today fedora update with same result

build is ok, but regress tests fails with crash (it works without -with-llvm)

Regards

Pavel




 

--
Robert Haas
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: JIT compilation per plan node
Next
From: Robert Haas
Date:
Subject: Re: Possibility to disable `ALTER SYSTEM`