Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vYomS-00F4He-1d for pgsql-committers@arkaria.postgresql.org; Thu, 25 Dec 2025 17:05:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vYomQ-007zCT-1J for pgsql-committers@arkaria.postgresql.org; Thu, 25 Dec 2025 17:05:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vYomQ-007zCL-0c for pgsql-committers@lists.postgresql.org; Thu, 25 Dec 2025 17:05:38 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vYomM-002nuY-1l; Thu, 25 Dec 2025 17:05:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 5BPH5JZQ1407186; Thu, 25 Dec 2025 12:05:20 -0500 From: Tom Lane To: Thomas Munro cc: Andres Freund , Alvaro Herrera , Fabien COELHO , Thomas Munro , pgsql-committers Subject: Re: pgsql: Track LLVM 15 changes. In-reply-to: References: <202202142122.eqz4mu2ecfes@alvherre.pgsql> <3155481.1644950069@sss.pgh.pa.us> <20220215224123.fx2mxkvlbvhk7377@alap3.anarazel.de> <3224284.1644965080@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 15 Mar 2022 12:12:44 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1407184.1766682319.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Dec 2025 12:05:19 -0500 Message-ID: <1407185.1766682319@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk [ blast-from-the-past dept. ] Thomas Munro writes: > Shortly I'll do the back-patch of LLVM 14 API changes (their final > release tag is scheduled for tomorrow, as I've been reminded by > package maintainers trying and failing to build). But I figured I > should also follow up on this bandaid solution to the API deprecation > warnings, that is, silencing them for now, so we don't spew screeds of > warnings. Does someone have a better idea than the attached? The bit added by commit a56e7b660 is still there in src/backend/jit/llvm/Makefile: +# LLVM 14 produces deprecation warnings. We'll need to make some changes +# before the relevant functions are removed, but for now silence the warn= ings. +ifeq ($(GCC), yes) +LLVM_CFLAGS +=3D -Wno-deprecated-declarations +endif Surely we don't need this anymore? I tried removing it locally and didn't see any such warnings (with Red Hat's llvm 20.1.8). regards, tom lane