Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nK4IR-0004dA-SZ for pgsql-committers@arkaria.postgresql.org; Tue, 15 Feb 2022 20:19:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nK4IQ-0000pg-Q5 for pgsql-committers@arkaria.postgresql.org; Tue, 15 Feb 2022 20:19:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nK4IQ-0000pW-JH for pgsql-committers@lists.postgresql.org; Tue, 15 Feb 2022 20:19:34 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nK4IN-0003Ku-OO for pgsql-committers@lists.postgresql.org; Tue, 15 Feb 2022 20:19:33 +0000 Received: by mail-io1-xd33.google.com with SMTP id h16so1093013iol.11 for ; Tue, 15 Feb 2022 12:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oBLfmYdZzhpsSzXWbjzS2K1vz4JTqEUY55nUoxs0sbc=; b=QRb4qumoAUZ/4Qj/nGILZGxgV3Rv0uHY2QowmqugkezG5lW2UwAfADG+izT1vPFW51 mcQcqrk8Lp7WR+0xk5EWyF0x11pAcjI6x7bmcfAfGR9vdN7qFkoXPloNyxc7ohR8rvCC fTzhK2c2v+7XepCi4YD0TF2+lm2zVDp1VDXFaxxG847/ZHHrQjzQ0TWcG13dIoGDchiC 62cpJxYcuRkeEDqjunzgCMxeu6A42xfMpgY1GQvCjL0qhCU4WQ6eLZwd19Eb4lz24JlK e9GtSzMFG3lcD9TCsNgHKM9DBw/Hn4mp7eN2ZqajlPK5fJe7rFkd206He/Mj0/oc1E68 W3fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oBLfmYdZzhpsSzXWbjzS2K1vz4JTqEUY55nUoxs0sbc=; b=vbKohK4RRakNgyLhM6T0nxoJHAhC0Es58U4nzsrXPP/Su+FTU+qUyYd/r+08N+6rRl mqwN+G8t9ORdeh77rX7u8adlYTNx1+YzXzD2lQD9VI5dPt562sTyTzm71Mt15ftMdT/W ByPJjcu4cJ0EtNU8DVd/ijtI6VxPJ5N3ZbByhO2sEiP86RWWiNGovxU8EZqkkAGzoveT 9NubfPse9ttso7dGDtsI5jTpGf89skC6I2fje6my6xJowCd18KsMuE4IAWqvK/TnOQKV jy050oc4LBi+HJQ8EHAHBXWMDrvTlFUeiNORs5tdmdedDATBMN/HdqwSXSCLRhm+FNYz 3fxA== X-Gm-Message-State: AOAM5323RMsb1bWERoDe2KgbyyoaZeTaf+nlpIa/ZagS4qQYYJFxrvMx eRdV8Mxa3lINlkcJnlQhhJcx930srYGAszNjTu8= X-Google-Smtp-Source: ABdhPJz6hyT/prLjsiBVwlRxcwFqXBoQL2kK56JiIrlYvqzQZ1M0ZF5HeyJwFXWuiRzUVHWbz6I46QY2x31JM8Mbw3Y= X-Received: by 2002:a05:6638:16c7:: with SMTP id g7mr358954jat.261.1644956369647; Tue, 15 Feb 2022 12:19:29 -0800 (PST) MIME-Version: 1.0 References: <202202142122.eqz4mu2ecfes@alvherre.pgsql> <3155481.1644950069@sss.pgh.pa.us> In-Reply-To: <3155481.1644950069@sss.pgh.pa.us> From: Thomas Munro Date: Wed, 16 Feb 2022 09:18:53 +1300 Message-ID: Subject: Re: pgsql: Track LLVM 15 changes. To: Tom Lane Cc: Alvaro Herrera , Fabien COELHO , Thomas Munro , pgsql-committers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Feb 16, 2022 at 7:34 AM Tom Lane 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.