Re: Build with LTO / -flto on macOS

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Aleksander Alekseev <aleksander@timescale.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Wolfgang Walther <walther@technowledgy.de>, Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>
Date: 2024-07-31T04:37:09Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Make building with LTO work on macOS

  2. Require memory barrier support.

  3. Require compiler barrier support.

  4. autoconf: Move export_dynamic determination to configure

On 22.07.24 16:04, Peter Eisentraut wrote:
> On 19.07.24 12:40, Aleksander Alekseev wrote:
>> It seems to me that the patch is not going to become any better and it
>> doesn't need any more attention from the reviewers. Thus I changed the
>> status of the CF entry to "Ready for Committer".
> 
> I'm happy to commit this patch.
> 
> I checked that for non-LTO builds, this option does not change the 
> output binary, so it seems harmless in that sense.
> 
> An equivalent change has recently been merged into meson upstream, so 
> we'll get the same behavior on meson before long.

Done.