Re: [PATCH] Fix build with LLVM 15 or above

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Po-Chuan Hsieh <sunpoet@sunpoet.net>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-03T21:41:31Z
Lists: pgsql-hackers

Attachments

Hi,

On 2022-10-03 12:16:12 -0700, Andres Freund wrote:
> I haven't yet run through the whole regression test with an assert enabled
> llvm because an assert-enabled llvm is *SLOW*, but it got through the first
> few parallel groups ok.  Using an optimized llvm 15, all tests pass with
> PGOPTIONS=-cjit_above_cost=0.

That did pass. But to be able to use clang >= 15 one more piece is
needed. Updated patch attached.

Greetings,

Andres Freund

Commits

  1. Track LLVM 15 changes.