Re: enabling link time optimizations in package builds

2022-07-03 Thread Martin Uecker
Adrian Bunk: > On Fri, Jun 17, 2022 at 10:18:43AM +0200, Matthias Klose wrote: ... > > >... > > Link time > > optimizations are also at least turned on in other distros like Fedora, > > OpenSuse (two years) and Ubuntu (one year). > >... > > The idea is to file wishlist bug reports for those 373

Re: enabling link time optimizations in package builds

2022-07-02 Thread Adam Borowski
On Fri, Jun 17, 2022 at 12:40:34PM +0300, Nicholas Guriev wrote: > LTO significantly increase memory requirements for buildd machines. Do we > have > enough RAM and swap on each build server? > > > Link time optimizations are also at least turned on in other distros like > > Fedora, OpenSuse (tw

Re: enabling link time optimizations in package builds

2022-07-01 Thread Adam Borowski
On Fri, Jul 01, 2022 at 07:52:16PM +0300, Adrian Bunk wrote: > On Fri, Jun 17, 2022 at 10:18:43AM +0200, Matthias Klose wrote: > > The proposal is to turn on LTO by default on most 64bit release > > architectures. > > By what factor does -ffat-lto-objects increase disk space usage during > packag

Re: enabling link time optimizations in package builds

2022-07-01 Thread Timo Röhling
Hi Matthias, * Matthias Klose [2022-06-17 10:18]: The proposal is to turn on LTO by default on most 64bit release architectures. Not proposing to do this on 32bit architectures because of the limited address space at link time, and up to now nobody tested LTO on 32bit archs. In test rebuilds

Re: enabling link time optimizations in package builds

2022-07-01 Thread Adrian Bunk
On Fri, Jun 17, 2022 at 10:18:43AM +0200, Matthias Klose wrote: >... > The proposal is to turn on LTO by default on most 64bit release > architectures. >... By what factor does -ffat-lto-objects increase disk space usage during package builds? Please coordinate with DSA to ensure that the buildd

Re: enabling link time optimizations in package builds

2022-06-17 Thread Nicholas Guriev
LTO significantly increase memory requirements for buildd machines. Do we have enough RAM and swap on each build server? > Link time optimizations are also at least turned on in other distros like > Fedora, OpenSuse (two years) and Ubuntu (one year). I know Ubuntu has builders with 8 GB RAM + 4

enabling link time optimizations in package builds

2022-06-17 Thread Matthias Klose
Link time optimizations are an optimization that helps with a single digit percent number optimizing both for smaller size, and better speed. These optimizations are available for some time now in GCC. Link time optimizations are also at least turned on in other distros like Fedora, OpenSuse (