From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Thomas Munro <tmunro(at)postgresql(dot)org>, pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgsql: Track LLVM 15 changes. |
Date: | 2022-02-15 20:18:53 |
Message-ID: | CA+hUKG+p=faBQR2PSAqWoWa+_tJdKPT0wjZPQe7XcDEttUCgdQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On Wed, Feb 16, 2022 at 7:34 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Although seawasp isn't actually failing at the moment, it's emitting
> a boatload of deprecation warnings, eg
>
> In file included from llvmjit_deform.c:27:
> ../../../../src/include/jit/llvmjit_emit.h:112:23: warning: 'LLVMBuildStructGEP' is deprecated: Use LLVMBuildStructGEP2 instead to support opaque pointers [-Wdeprecated-declarations]
> LLVMValueRef v_ptr = LLVMBuildStructGEP(b, v, idx, "");
> ^
> /home/fabien/clgtk/include/llvm-c/Core.h:3908:1: note: 'LLVMBuildStructGEP' has been explicitly marked deprecated here
> LLVM_ATTRIBUTE_C_DEPRECATED(
> ^
>
> Is that on anyone's radar to clean up?
Yeah I mentioned this problem in the other thread. I got as far as
finding this write-up:
https://llvm.org/docs/OpaquePointers.html
I haven't yet tried to work out what we really need to do, but I'm
planning to try. Possibly requires a bit more book keeping on our
part, since eg LLVMGetElementType() is going away.
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2022-02-15 21:20:50 | last_archived_wal is not necessary the latest WAL file (was Re: pgsql: Add test case for an archive recovery corner case.) |
Previous Message | Tom Lane | 2022-02-15 19:05:19 | Re: pgsql: Move scanint8() to numutils.c |