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 1rq2i7-00AEhg-ET for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2024 03:15:19 +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 1rq2i6-009VQN-IS for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2024 03:15:18 +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 1rq2i6-009VQF-9Y for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2024 03:15:18 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rq2i3-007A5X-Q4 for pgsql-hackers@postgresql.org; Fri, 29 Mar 2024 03:15:17 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5157af37806so1880634e87.0 for ; Thu, 28 Mar 2024 20:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711682115; x=1712286915; darn=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=5ao3NldgLECh4kcqwOT8LLTzHueu7rSrS2Dnv0XAYJg=; b=TLo9tsigKj3PJhnxeFqSufJh2QLbF0gpwEEllmHXZfAOKMbbvJEbyxAUM5zzjh2U/Y CzwoLwFCDCFTNEW/sCeW1AI5GkQ/7JBkCjr7HwTNtVa5jZljuLHH9amM5XGWyZriwSnx 8/S4vjNfcT2kH+GKpBbix0pfKhs8TjlSMoZvnCVFn8G5oLSTR4WXXy3o7OorStKBERbq UWlRQ529uwUIqyada5w4V7X9b7TvjOTCNLomVxPlRgNkYVxQCWb2WQYECUp1laUnSLYv aykqtkDE0tU+zrW9NTnDVZMRwzErabq/1hghL+1o7cTsd36AqVL3iV/g80LGgcfWVQYc wRxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711682115; x=1712286915; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5ao3NldgLECh4kcqwOT8LLTzHueu7rSrS2Dnv0XAYJg=; b=jIYKLyO2kzAC+o54Te6m3KClgh4WpDu6tsVpKgrUa158MeFp3GN0JwhmYwghu8+TNl zCEKd8EOkjlcPRWMypNyQWtTWsXPzat8WozTBif5XW3XdwXO8gTzGZhRqwdmpIJ7zB+D ILBsjSvtKrMvm5bLvZ+cYI0lvI+Ls2U5JlEbHaKxIZ6WyQYyQ8pVdQ+X3E2LqRVZnyIL RBciEImp1hFGQJ4bcFdDRJf1CRCZEN1wL//Y4R52dVGfoqSs5adqS4EIldyXMKx+A3f2 9xMLDqIjJM84T09KNtd62ndYfB2Xv0TEA68u+KrATuwf9XcH0EWdmndKep09EIJN06ku Qcag== X-Forwarded-Encrypted: i=1; AJvYcCXerUyKdfrZBB8Rn53S2v+8EOLJLXj/X2Y+pwubfKWWHIo/Lys5MaxDJNzHArv6moCtJDrakBUN6DGmxzC+9YSvKV/YDhupKNpFaQ6G X-Gm-Message-State: AOJu0YwQEinV7VXfYA9Tt786Uq1fHMq8jA0en9OPD7FU7Nh10N5ot88N mNvbeuL/dtMM1mbxLuFndSN8yUpEc3uA4TbU1Qut9qTCkE16DJjLyt3AM5raOzMN/qUQrkRaT3Y Gfw3yYFGIwRuceqx201fIDlatvZPju3byRcg= X-Google-Smtp-Source: AGHT+IFmy/Iox5e8irIFsF6ry2KZTww9pE1ngQYBysbTC2Noxv2p0zNAn1yCpNt9wNAU+fxx22Bu3dM/5Jzvv/a8dZE= X-Received: by 2002:ac2:5299:0:b0:513:cd70:8d90 with SMTP id q25-20020ac25299000000b00513cd708d90mr790425lfm.42.1711682114639; Thu, 28 Mar 2024 20:15:14 -0700 (PDT) MIME-Version: 1.0 References: <322245.1711029459@sss.pgh.pa.us> <20240329024832.a0@rfd.leadboat.com> In-Reply-To: From: Thomas Munro Date: Fri, 29 Mar 2024 16:14:37 +1300 Message-ID: Subject: Re: AIX support To: Noah Misch Cc: Sriram RK , Tom Lane , Alvaro Herrera , "pgsql-hackers@postgresql.org" 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 Fri, Mar 29, 2024 at 4:00=E2=80=AFPM Thomas Munro wrote: > On Fri, Mar 29, 2024 at 3:48=E2=80=AFPM Noah Misch wr= ote: > > The thread Alvaro and Tom cited contains an analysis. It's a compiler = bug. > > You can get past the compiler bug by upgrading your compiler; both ibm-= clang > > 17.1.1.2 and gcc 13.2.0 are free from the bug. > > For the specific issue that triggered that, I strongly suspect that it > would go away if we just used smgrzeroextend() instead of smgrextend() > using that variable with the alignment requirement, since, as far as I > can tell from build farm clues, the otherwise similar function-local > static variable used by the former (ie one that the linker must still > control the location of AFAIK?) seems to work fine. Oh, sorry, I had missed the part where newer compilers fix the issue too. Old out-of-support versions of AIX running old compilers, what fun.