Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 - Mailing list pgsql-hackers

From Zidenberg, Tsahi
Subject Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Date
Msg-id 8B2C1554-0A0D-4242-B5D2-8E579303BEF1@amazon.com
Whole thread Raw
In response to Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On 08/09/2020, 1:01, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:

    > I wonder what version of gcc you intend this for.  AFAICS, older
    > gcc versions lack this flag at all, while newer ones have it on
    > by default.


(previously sent private reply, sorry)

The moutline-atomics flag showed substantial enough improvements
that it has been backported to GCC 9, 8 and there is a gcc-7 branch in
the works.
Ubuntu has integrated this in 20.04, Amazon Linux 2 supports it,
with other distributions including Ubuntu 18.04 and Debian on the way.
all distributions, including the upcoming Ubuntu with GCC-10, have
moutline-atomics turned off by default.


pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Bug in logical decoding of in-progress transactions
Next
From: Peter Smith
Date:
Subject: Re: Implement UNLOGGED clause for COPY FROM