Re: Using __gnu_lto_slim to detect -fno-fat-lto-objects

2023-03-02 Thread Jeff Law via Gcc
On 2/22/23 01:18, Florian Weimer via Gcc wrote: Can we use the COMMON symbol __gnu_lto_slim to detect -fno-fat-lto-objects on contemporary GNU/Linux (with the LTO linker plugin)? We currently build the distribution with -ffat-lto-objects, and I want to switch away from that. Packages will ne

Re: Using __gnu_lto_slim to detect -fno-fat-lto-objects

2023-02-23 Thread Martin Liška
On 2/22/23 09:28, Florian Weimer via Gcc wrote: > * Richard Biener: > >> On Wed, Feb 22, 2023 at 9:19 AM Florian Weimer via Gcc >> wrote: >>> >>> Can we use the COMMON symbol __gnu_lto_slim to detect >>> -fno-fat-lto-objects on contemporary GNU/Linux (with the LTO linker >>> plugin)? >> >> Yes.

Re: Using __gnu_lto_slim to detect -fno-fat-lto-objects

2023-02-22 Thread Richard Biener via Gcc
On Wed, Feb 22, 2023 at 9:28 AM Florian Weimer wrote: > > * Richard Biener: > > > On Wed, Feb 22, 2023 at 9:19 AM Florian Weimer via Gcc > > wrote: > >> > >> Can we use the COMMON symbol __gnu_lto_slim to detect > >> -fno-fat-lto-objects on contemporary GNU/Linux (with the LTO linker > >> plugin

Re: Using __gnu_lto_slim to detect -fno-fat-lto-objects

2023-02-22 Thread Florian Weimer via Gcc
* Richard Biener: > On Wed, Feb 22, 2023 at 9:19 AM Florian Weimer via Gcc > wrote: >> >> Can we use the COMMON symbol __gnu_lto_slim to detect >> -fno-fat-lto-objects on contemporary GNU/Linux (with the LTO linker >> plugin)? > > Yes. Great, thanks. >> We currently build the distribution with

Re: Using __gnu_lto_slim to detect -fno-fat-lto-objects

2023-02-22 Thread Richard Biener via Gcc
On Wed, Feb 22, 2023 at 9:19 AM Florian Weimer via Gcc wrote: > > Can we use the COMMON symbol __gnu_lto_slim to detect > -fno-fat-lto-objects on contemporary GNU/Linux (with the LTO linker > plugin)? Yes. > We currently build the distribution with -ffat-lto-objects, and I want > to switch away