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 1w7mDA-005gNG-0x for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 03:25:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7mD8-00EVtN-1s for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 03:25:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7mD8-00EVtD-0y for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 03:25:42 +0000 Received: from mail-dy1-x132c.google.com ([2607:f8b0:4864:20::132c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7mD6-000000024Z4-2qty for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 03:25:41 +0000 Received: by mail-dy1-x132c.google.com with SMTP id 5a478bee46e88-2c5cf871adcso135434eec.1 for ; Tue, 31 Mar 2026 20:25:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775013940; cv=none; d=google.com; s=arc-20240605; b=bWWQOG6eWPAg/TdihL+vX9HCQZ6ubbrM3qxmBMlNB1vBrtBGOvU1reNY9Q1EVOscSJ 4UHteZ8WnQLshqOrgw0Z7I2wMEe7GbDjm2R5BsNOvLWsAF77R3QP5nFr1yGuJMrRAQnA dlZqZuXpfq9NawbeuMilhxGOA6Dcc35x5BkO44f5Cl4X8hAQEQzLhosmbvwd2l/MChZ6 IKofJP55JL02+jbESL9Xxrda+Vryj3T/s1TgjuzW9YWkyaq7c3sX8rX2OwV07p0zf5Mb peSkzZTKCBeBhxusfLuuZ77fwKyn/P+cWu1rjpsdVHmF3BjCbT3yw+MosL4NrnRtD8hV fHSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lyR+AYSjHuoYz/YB5OlTP8joKppVNew7q/yO50toams=; fh=FvKeOrWMLGaOBSKmqCPxD5d5JrSeDC38Mx5TnuLWVcE=; b=AwiAxJmWweAWZJekPJojTGMRKj2pWPm9BpA3ZHmyaDlfr1+XIp46Cp0NmQyivKe9/t cTsqEYss8pAVrLH0ApdR/r3MJcWCD/nVN7N7k6KnyIpOcSJwKmsrSxT+Das/X1kXJPlT OVlSompmA217mw8KnDxmJoBltyEalw0xD+RZmE3pI4UTTSpLHBXxhQn6ssQKOXWwOvRp SlsgOX8NR6juA/KaFU/P43mer0XL+YTMz33tlGEgC0P5xEtgVQYBci6Go757gbHu3G4b 3HpKy038DI31nO6S2EgZryH1ShMh3nDkj37Bn3YYxCRjzARrNKII2B2IXVHD5h2isr8F r4TQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775013940; x=1775618740; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lyR+AYSjHuoYz/YB5OlTP8joKppVNew7q/yO50toams=; b=NRR2lE1Ii2/FNUpzL18X43w2vvmyZyNMiLcIIcNcDuYj74ppj5kekQOmDCfMgvFsWQ 8WkCtM8DbNuP6ZVxJkQSTN+I6vzG/VxYF0mvsSD+wn+AoOgg6FF2fexY/ljfFX/Sjdi/ vPJFZVYa0SWLNrcURTktJXdkgFpzuZy5LDSd9sz08n1Wp1qepfGnGOiMPnzRAq+sYrQm baG+De2agmwmYwrXAsQS7YW2CKu4scoJk80Kw4N0yy25ZBWIKYWmk4Zl24+CvuU5lJZn rBhGZU9yyRrtEqnXkln3C21HOQf4hM0ne0BEQM7k/nO9xbESgHnh5MYHUfu/WBg0AL0g mRpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775013940; x=1775618740; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lyR+AYSjHuoYz/YB5OlTP8joKppVNew7q/yO50toams=; b=g3M1ybxqxPuLJ7T2iwjnM0wRKO04DVk9zWrwMHH0JE5HgHVuzswqP0lucxVyGt7zvg 78eZSTbKGof+HMZc7RNUAb9SmeRnXRUMIF8daEk+wJraXI4j8HR7RNtxd96mf3nSMV1C jUFeN0sYf5k3bvZEamumq6/KOCrFpf/Kf3qki4S4xEkaBITv0K3VKPTSVBVGyteUi7TR /xzqQlYftSZrAp68kNLjvu9VUa+jnG91g3sHzhijU7h3fLiGytnlwxavB2v1u/40gynV /8v5fXNhtAJl1ym8zeUtA8kkajOQ1Zs8Tob57TK+YAEVBEmFhnahCEe7c45WLTlsWGRt OskA== X-Forwarded-Encrypted: i=1; AJvYcCW7qnr1KSh/AzBDv1islLLp8KvKbPZ6se06u/EwJ6SrxJ9Nch4DmjkFIRl1yShIdC5bEPaGQPsoZP5uoIHF@lists.postgresql.org X-Gm-Message-State: AOJu0YwF6UKruKsNuJN1COeuuCocgYMUQ0Cys2KQL+mq86Nc3J0hLSLt RzIRFn7P9XAawzYRH59g24yYSo+bIMfgZKCSYtO8NDOd1U4OE+BwdKpBP36ESlSTQQQm2dAM7EM ebke+txVvODf24S5m5jWShafbU+LSUMg= X-Gm-Gg: ATEYQzx0UVQacDu93OuB1rKvAbxFwg9udHu7nhsNv2zLW0t33QlpI0h9CupEAWC1juH wP5R89jL41QHeTBckiZXQW0a0bi75yiFm9LFC0vxK0LU6SEFP19MUN2wjDLeE82ccV1xwQgH4X2 O3klDmtIfudkedwJZUMnbEu0HiSqxMZlV0W2/LlsmP0f5t8P7LPwWlITI1fSOHQjRN2YBHY/aYb Ol1eUCaXORVNiSolFLDTe/u/R4Q0FHl3nN2yIWLOcoy2BxPHKJpHSNzoNPayjtOS6tht9HoiBLr lUpIUkM+OcvnGU/BZIRRRgA9WDdhVmKgUotiiixYurnp5w7DCw31TMsYkqzj+5rO X-Received: by 2002:a05:693c:2c97:b0:2c7:2cac:8162 with SMTP id 5a478bee46e88-2c9326aa500mr445513eec.5.1775013939652; Tue, 31 Mar 2026 20:25:39 -0700 (PDT) MIME-Version: 1.0 References: <2805479.1775001311@sss.pgh.pa.us> In-Reply-To: <2805479.1775001311@sss.pgh.pa.us> From: Thomas Munro Date: Wed, 1 Apr 2026 16:25:02 +1300 X-Gm-Features: AQROBzAnIZPMlErHvB9a5JTr_fSEdjkrjSsmffoWE0LHe9pGXyFhTvL3Io7Ht30 Message-ID: Subject: Re: LLVM 22 To: Tom Lane Cc: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , PostgreSQL Hackers , Matheus Alcantara , Anthonin Bonnefoy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 1, 2026 at 12:55=E2=80=AFPM Tom Lane wrote: > Devrim =3D?ISO-8859-1?Q?G=3DFCnd=3DFCz?=3D writes: > > Fedora pushed 22.1.0 to both Fedora 44 beta and rawhide repos, so I > > tested these patches. Builds are fine and all regression tests pass. > > Anything else I should check? > > Where are we on getting these patches pushed? I think the reason that > BF member midge has been failing of late is that it's running LLVM 22 > (if not indeed something even newer --- configure doesn't report > the clang version, sadly). Also, I've reproduced this symptom: Working on this, more shortly... I'm trying to figure out if Anthonin and Andres's feedback means the poison approach does nothing useful and we might as well just #ifdef out the lifetime.end stuff for LLVM >=3D 22 to fix the breakage today. Either way it looks like we need a patch to use alloca instead, which I'll also look into... > Intrinsic has incorrect argument type! > ptr @llvm.lifetime.end.p0 > Intrinsic has incorrect argument type! > ptr @llvm.lifetime.end.p0 > 2026-03-31 18:58:20.218 EDT [28486] FATAL: fatal llvm error: Broken modu= le found, compilation aborted! > > on a fresh Fedora 44/x86_64 installation with llvm 22.1.1. So this is > going to be a production compiler RSN. (F44 is still labeled beta, > but not for much longer.) Yep, that's the issue alright.