Re: Build with LTO / -flto on macOS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Build with LTO / -flto on macOS
Date
Msg-id 76230.1721417789@sss.pgh.pa.us
Whole thread Raw
In response to Re: Build with LTO / -flto on macOS  (Andres Freund <andres@anarazel.de>)
Responses Re: Build with LTO / -flto on macOS
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2024-07-19 11:06:47 -0400, Tom Lane wrote:
>> 2. Do we really want to encourage people to build with -flto?

> The only case I know where we do rely on compilation units providing some
> level of boundaries is on compilers where we don't know how to emit a compiler
> barrier. That's probably a fallback we ought to remove one of these days...

Hm.  We've moved our platform/toolchain goalposts far enough in the
last few releases that that might not be too big a lift.  Do you
know offhand which supported platforms still have a problem there?

(mumble AIX mumble)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Build with LTO / -flto on macOS
Next
From: Nathan Bossart
Date:
Subject: Re: recovery modules