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.94.2) (envelope-from ) id 1r0OIB-005NSW-Qu for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Nov 2023 15:47:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r0OIA-009T1j-B9 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Nov 2023 15:47:02 +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.94.2) (envelope-from ) id 1r0OI9-009Syo-FR for pgsql-hackers@lists.postgresql.org; Tue, 07 Nov 2023 15:47:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0OI6-005CKu-Lr for pgsql-hackers@lists.postgresql.org; Tue, 07 Nov 2023 15:47:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AB9FA5C0238; Tue, 7 Nov 2023 10:46:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 07 Nov 2023 10:46:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1699372016; x= 1699458416; bh=7q32SBncCtfbvM8M4/0KCKIKbeJvC17r72WkqOb6SG4=; b=c bLoZ8QSK93ugz8J2kKKoe06DTDgYWkPH/mXF4LmmdFcjlzaXzWWx4K/5r47+24F2 cgab2lsyrFL/mNu10LoVWgym/iMXjOz2EPWmGJlVPVQpbhX3CDM1MISg3WVzWPo4 5doUQLTyQ8bIt2GaWUoUGdSqUUrjKmK/d8ZPUYZk3z40zKO7eholRuaI2fEUqjWC LGAO+yj+JOlbuLWiYuH1oVzS4f/9/AEWa+UvFRhiNaDC6g8s5sqMKjet14U8cmjz RKfHCjLTfET0r7vpWVVr8Pwd/hJrP9MtgkoydOCcVowgLwcGyJKDw0jgDhO9y5IT DoQKVz02bIiAxaQkhbcZA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduiedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Nov 2023 10:46:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1699372013; bh=IfJjVVGp1tr3HDc2NeKtjKPz1goKiehk1Gi+hueOMsk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Zm2xWej+7udY8xWy49acTNccLFzFjJYOUp+saDu3wY1fYPYxVAVAcKTPx9ZI26zxV fAT7PNntAkf1VzlcOrKK1pP2nJK+8nrUEf3rPlBJkiLbMW2wvMetyYw2TIebc/RJNY Z+Gkj2SfmKj20iDYGlK0V+JEccBPipObs6q3nHZYeMS5Ru5CiNxktcbJiNipVEkKbk jbLUpdCeU0mt/j8FOGaEXdH5QMl82KwnDLbzedKMmcQmOPD5brfVM9wbdbzBm4DOHo gaqrHjBZPSqdaz/kc+vA6cAfu0TB6HpoUOqQgwpv54rewHdCf4krFmFJfFmccWbhAZ 9JPsPC4hY3Axg== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id AABC6C1; Tue, 7 Nov 2023 16:46:53 +0100 (CET) Date: Tue, 7 Nov 2023 16:46:53 +0100 From: Alvaro Herrera To: "Daniel Westermann (DWE)" Cc: Thomas Munro , Andres Freund , "pgsql-hackers@lists.postgresql.org" Subject: Re: Compiler warning on Debian 12, PostgreSQL 16 Beta3 Message-ID: <202311071546.drjynrf7itsn@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Aug-25, Daniel Westermann (DWE) wrote: > I've just noticed this warning when building on Debian 12: > > In file included from /usr/lib/llvm-14/include/llvm/Analysis/ModuleSummaryAnalysis.h:17, > from llvmjit_inline.cpp:51: > /usr/lib/llvm-14/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::ModuleSummaryIndex::ModuleSummaryIndex(bool, bool)’: > /usr/lib/llvm-14/include/llvm/IR/ModuleSummaryIndex.h:1175:73: warning: member ‘llvm::ModuleSummaryIndex::Alloc’ is used uninitialized [-Wuninitialized] > 1175 | : HaveGVs(HaveGVs), EnableSplitLTOUnit(EnableSplitLTOUnit), Saver(Alloc), > | Yeah, I get this one too. I thought commit 37d5babb5cfa ("jit: Support opaque pointers in LLVM 16.") was going to silence it, but I was quite mistaken. I gave that code a quick look and could not understand what it was complaining about. Is it a bug in the LLVM headers? Adding Andres and Thomas to CC, because they're the ones touching the LLVM / JIT code. Any clues? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/