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

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Дата
Msg-id YXgaJiuh0iM5igSS@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64  ("Pop, Sebastian" <spop@amazon.com>)
Ответы Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64  ("Pop, Sebastian" <spop@amazon.com>)
Список 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-atomicsflag 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



В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: "Pop, Sebastian"
Дата:
Сообщение: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Следующее
От: "Pop, Sebastian"
Дата:
Сообщение: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64