Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfO4z-0007MX-UN for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 Oct 2021 15:09:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfO4y-0001iz-KX for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 26 Oct 2021 15:09:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfO4y-0001ip-FP for pgsql-pkg-debian@lists.postgresql.org; Tue, 26 Oct 2021 15:09:32 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfO4v-00048x-Ub for pgsql-pkg-debian@postgresql.org; Tue, 26 Oct 2021 15:09:31 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4HdwGH2GDfz3Dxx; Tue, 26 Oct 2021 17:09:27 +0200 (CEST) Date: Tue, 26 Oct 2021 17:09:26 +0200 From: Christoph Berg To: "Pop, Sebastian" Cc: PostgreSQL in Debian , "Saidi, Ali" Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 Message-ID: Mail-Followup-To: Christoph Berg , "Pop, Sebastian" , PostgreSQL in Debian , "Saidi, Ali" References: <1635221042457.21654@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1635221042457.21654@amazon.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Pop, Sebastian > ?Hi Christoph, > > > This is a follow-up email based on recommendations from Heikki Linnakangas: > > https://www.postgresql.org/message-id/5f048a5a-c471-50ae-30ad-385dcafc616b%40iki.fi > > and Tom Lane: > > https://www.postgresql.org/message-id/888692.1601489331%40sss.pgh.pa.us Well I wouldn't exactly call these messages "recommendations". > ?The change is to compile PostgreSQL for arm64 with an extra flag -moutline-atomics when the compiler is gcc-8.5 or gcc-9.4. > > -moutline-atomics is enabled by default in all newer compilers gcc-{10, 11, trunk}, and on clang-{12, 13, trunk}. > > The change is needed only for a limited number of Debian and Ubuntu releases compiled by gcc versions with the outline-atomics flag disabled by default. None of the Debian releases are using 8.5 or 9.4, and on the Ubuntu side focal is using 9.3. Is that gcc version even affected? Christoph