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

From: "Pop, Sebastian" <spop(at)amazon(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
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:16:08
Message-ID: 1635261368767.78850@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

> on the Ubuntu side focal is using 9.3. Is that gcc version even affected?

Yes, we have backported the outline-atomics flag to Ubuntu 20.04 gcc-9.3.

On arm64 you can check whether a compiler has the option with:
$ gcc -v --help -Q 2>/dev/null | grep outline-atomics
-moutline-atomics [disabled]
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
[...]

Sebastian

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2021-10-26 15:31:23 Re: Request for making pg_stat_monitor extension available via PGDG apt repositories
Previous Message Christoph Berg 2021-10-26 15:09:26 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64