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

From: Christoph Berg <myon(at)debian(dot)org>
To: "Pop, Sebastian" <spop(at)amazon(dot)com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, "Saidi, Ali" <alisaidi(at)amazon(dot)com>
Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Date: 2021-10-26 15:09:26
Message-ID: YXgaJiuh0iM5igSS@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

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

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Pop, Sebastian 2021-10-26 15:16:08 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Previous Message Pop, Sebastian 2021-10-26 04:04:03 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64