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 1quwq4-002GD7-7y for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Oct 2023 15:27:32 +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 1quwq1-00AwxH-CW for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Oct 2023 15:27:30 +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.94.2) (envelope-from ) id 1quwq1-00Aww1-2c for pgsql-hackers@lists.postgresql.org; Mon, 23 Oct 2023 15:27:29 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1quwpz-001vOB-9H for pgsql-hackers@lists.postgresql.org; Mon, 23 Oct 2023 15:27:28 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1ca74e77aecso32187275ad.1 for ; Mon, 23 Oct 2023 08:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698074846; x=1698679646; darn=lists.postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=jINDkURo0XF69dk/VlIjPiGSQq2muqvRqlmQkjT200U=; b=Fs5MFWpLdElsar3jA3Zt/GwbZ8FmfppYMxw/Zd3CpAQuzHH6rW14/0lpUP55IfM6Es MWBWdUISeD3O23J/Zte8fSkcemqjkWSgeWE488MOiFqBmCZ01b7bsuzG+fhgd+OFW2CF vHYPfRkLZvJst9SuOcFfK1YjOwCPcYyxy4O+NOVwclHdzT8unprC3v1cMkdjXlPyaLQy S8NojWSbdNj4yj6yOP0+9ULvLpwN0fn6Uo+TiTsF1e9GHNnvKw45I/WL5A/SfKlaBZRH WB4TT1yQF30odJkN6MJHONuI7DNHO4hKy6alIQQeSbMFhYu+9OyWghTmGteO7cXglI06 VggQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698074846; x=1698679646; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jINDkURo0XF69dk/VlIjPiGSQq2muqvRqlmQkjT200U=; b=qCu9arTzokdl4prmquFW7hgmwYJwM+fTOiTUXKU4LyPndAPTEkswxmOBXnjB/tN4ZB i0dnxw1lOUSWT4jLLzBy/ELLGmeBaSHozCN7O0c58Ni8ksMN0F/Wg3e7Lb7GOf/CZBrX QeMLr4pUjM8rypSuv1TLIxoRXOsioTEUrON8F5M52BeSzy+YiNz1z6RDV/gs/izLIy6y G8AxDhJ7EMNdZAiGD1cqhg37qKwjacs5YFpxByhhKMibf9RCv+2DZtOge3PdsGSPg1Yw JRg68Jj2XWSQ+geXNwka2Uftp3oPDA69h7HJJuyoZIoCwBtf3pVpz04hTWA5RyzpUWTr iwMA== X-Gm-Message-State: AOJu0YxUPkKGMgZC4zaxtsiHaHn9obXLCuQSUjzJis8tfijKicjItEde D2yIrQegJOIKAaa28c/NQhw= X-Google-Smtp-Source: AGHT+IHcEAzFcYL8O3tKUb8kuMHxpAEemgGgw6ALLlaEV+E6GxqtMVpKOMAYva7ZC/qleKo6VVXoXg== X-Received: by 2002:a17:903:230b:b0:1ca:42b:f625 with SMTP id d11-20020a170903230b00b001ca042bf625mr12885054plh.3.1698074846151; Mon, 23 Oct 2023 08:27:26 -0700 (PDT) Received: from moubin (71-36-110-102.ptld.qwest.net. [71.36.110.102]) by smtp.gmail.com with ESMTPSA id jc15-20020a17090325cf00b001c746b986e5sm6062506plb.45.2023.10.23.08.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 08:27:24 -0700 (PDT) Date: Mon, 23 Oct 2023 08:27:23 -0700 From: Mark Wong To: Thomas Munro Cc: Tom Lane , Ronan Dunklau , Devrim =?iso-8859-1?B?R/xuZPx6?= , PostgreSQL Hackers , Fabien COELHO , Dmitry Dolgov <9erthalion6@gmail.com>, Andres Freund Subject: Re: LLVM 16 (opaque pointers) Message-ID: References: <20231020221213.zlgwsh7wtwyz33ag@awork3.anarazel.de> <4022690.1697852728@sss.pgh.pa.us> 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 Mon, Oct 23, 2023 at 01:15:04PM +1300, Thomas Munro wrote: > On Sun, Oct 22, 2023 at 2:44 PM Thomas Munro wrote: > > On Sat, Oct 21, 2023 at 2:45 PM Tom Lane wrote: > > > Thomas Munro writes: > > > > (It'd be nice if the > > > > build farm logged "$LLVM_CONFIG --version" somewhere.) > > > > > > It's not really the buildfarm script's responsibility to do that, > > > but feel free to make configure do so. > > > > Done, copying the example of how we do it for perl and various other things. > > Build farm measles update: > > With that we can see that nicator (LLVM 15 on POWER) is green. We can > see that cavefish (LLVM 6 on POWER) is red as expected. We can also > see that bonito (LLVM 7 on POWER) is red, so my earlier theory that > this might be due to the known bug we got fixed in LLVM 7 is not > enough. Maybe there are other things fixed on POWER somewhere between > those LLVM versions? I suspect it'll be hard to figure out without > debug builds and backtraces. I haven't gotten around to disabling llvm on any of my animals with llvm < 7 yet. Do you still want to hold on that? > One thing is definitely our fault, though. xenodermus shows failures > on REL_12_STABLE and REL_13_STABLE, using debug LLVM 6 on x86. I > couldn't reproduce this locally on (newer) debug LLVM, so I bugged > Andres for access to the host/libraries and chased it down. There is > some type punning for a function parameter REL_13_STABLE and earlier, > removed by Andres in REL_14_STABLE, and when I back-patched my > refactoring I effectively back-patched a few changes from his commit > df99ddc70b97 that removed the type punning, but I should have brought > one more line from that commit to remove another trace of it. See > attached. Here are my list of llvm-config versions and distros for s390x and POWER (didn't see any issues on aarch64 but I grabbed all the info at the same time.) s390x: branta: 10.0.0 Ubuntu 20.04.4 LTS cotinga: 6.0.0 Ubuntu 18.04.6 LTS perch: 6.0.0 Ubuntu 18.04.6 LTS sarus: 14.0.0 Ubuntu 22.04.1 LTS aracari: 15.0.7 Red Hat Enterprise Linux 8.6 pipit: 15.0.7 Red Hat Enterprise Linux 8.6 lora: 15.0.7 Red Hat Enterprise Linux 9.2 mamushi: 15.0.7 Red Hat Enterprise Linux 9.2 pike: 11.0.1 Debian GNU/Linux 11 rinkhals: 11.0.1 Debian GNU/Linux 11 POWER: bonito: 7.0.1 Fedora 29 cavefish: 6.0.0 Ubuntu 18.04.6 LTS demoiselle: 5.0.1 openSUSE Leap 15.0 elasmobranch: 5.0.1 openSUSE Leap 15.0 babbler: 15.0.7 AlmaLinux 8.8 pytilia: 15.0.7 AlmaLinux 8.8 nicator: 15.0.7 AlmaLinux 9.2 twinspot: 15.0.7 AlmaLinux 9.2 cascabel: 11.0.1 Debian GNU/Linux 11 habu: 16.0.6 Fedora Linux 38 kingsnake: 16.0.6 Fedora Linux 38 krait: CentOS 16.0.6 Stream 8 lancehead: CentOS 16.0.6 Stream 8 aarch64: boiga: 14.0.5 Fedora Linux 36 corzo: 14.0.5 Fedora Linux 36 desman: 16.0.6 Fedora Linux 38 motmot: 16.0.6 Fedora Linux 38 whinchat: 11.0.1 Debian GNU/Linux 11 jackdaw: 11.0.1 Debian GNU/Linux 11 blackneck: 7.0.1 Debian GNU/Linux 10 alimoche: 7.0.1 Debian GNU/Linux 10 bulbul: 15.0.7 AlmaLinux 8.8 broadbill: 15.0.7 AlmaLinux 8.8 oystercatcher: 15.0.7 AlmaLinux 9.2 potoo: 15.0.7 AlmaLinux 9.2 whiting: 6.0.0 Ubuntu 18.04.5 LTS vimba: 6.0.0 Ubuntu 18.04.5 LTS splitfin: 10.0.0 Ubuntu 20.04.6 LTS rudd: 10.0.0 Ubuntu 20.04.6 LTS turbot: 14.0.0 Ubuntu 22.04.3 LTS shiner: 14.0.0 Ubuntu 22.04.3 LTS ziege: 16.0.6 CentOS Stream 8 chevrotain: 11.0.1 Debian GNU/Linux 11 Regards, Mark