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

2022-10-25 Thread Thomas Munro
On Wed, Oct 26, 2022 at 4:28 AM Devrim Gündüz wrote: > On Tue, 2022-10-18 at 22:06 +1300, Thomas Munro wrote: > > Will do first thing tomorrow. > > Just wanted to confirm that I pushed Fedora RPMs built against LLVM 15 > by adding these patches. > > Thanks Thomas. Cool. FTR I still have to finis

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

2022-10-25 Thread Devrim Gündüz
Hi, On Tue, 2022-10-18 at 22:06 +1300, Thomas Munro wrote: > Will do first thing tomorrow. Just wanted to confirm that I pushed Fedora RPMs built against LLVM 15 by adding these patches. Thanks Thomas. Regards, -- Devrim Gündüz Open Source Solution Architect, Red Hat Certified Engineer Twitter

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

2022-10-18 Thread Thomas Munro
On Tue, Oct 18, 2022 at 10:01 PM Devrim Gündüz wrote: > On Tue, 2022-10-11 at 11:07 +1300, Thomas Munro wrote: > > OK, I'll wait for the dust to settle on our 15 release and then > > back-patch this. Then I'll keep working on the opaque pointer > > support for master, which LLVM 16 will need (I e

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

2022-10-18 Thread Devrim Gündüz
Hi Thomas, On Tue, 2022-10-11 at 11:07 +1300, Thomas Munro wrote: > OK, I'll wait for the dust to settle on our 15 release and then > back-patch this.  Then I'll keep working on the opaque pointer > support for master, which LLVM 16 will need (I expect we'll > eventually want to back-patch that ev

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

2022-10-10 Thread Thomas Munro
On Tue, Oct 4, 2022 at 10:45 AM Zhihong Yu wrote: > On Mon, Oct 3, 2022 at 2:41 PM Andres Freund wrote: >> 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

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

2022-10-03 Thread Zhihong Yu
On Mon, Oct 3, 2022 at 2:41 PM Andres Freund wrote: > 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 grou

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

2022-10-03 Thread Andres Freund
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=-

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

2022-10-03 Thread Andres Freund
Hi, On 2022-10-03 18:34:18 +1300, Thomas Munro wrote: > One option I thought about as a stopgap measure is to use > LLVMContextSetOpaquePointers(context, false) to turn the new code > paths off, but it doesn't seem to work for me and I couldn't figure > out why yet (it still aborts -- probably the

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

2022-10-02 Thread Thomas Munro
On Mon, Oct 3, 2022 at 4:56 PM Po-Chuan Hsieh wrote: > While building PostgreSQL 15 RC 1 with LLVM 15, I got a build failure as > follows: > > cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Werror=vla -Werror=unguarded-availability-new -Wendif-labels > -Wmissing-

[PATCH] Fix build with LLVM 15 or above

2022-10-02 Thread Po-Chuan Hsieh
-15-or-above.patch Thanks. Regards, sunpoet From bd2f6d2ec5369b5e33c6bf41560cdae3f8088f07 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 1 Oct 2022 22:23:41 +0800 Subject: [PATCH] Fix build with LLVM 15 or above - Upstream has fixed the struct name prefix from LLVMJIT to LLVMOrc [1]. - Upstre