Re: The case of LTO when produced enlarged binaries

2020-08-31 Thread Jeff Law
On Mon, 2020-08-31 at 09:17 +0200, Bob Mauchin wrote: > > > On Mon, Aug 31, 2020, 05:32 Jeff Law wrote: > > On Sun, 2020-08-30 at 14:42 +0200, Igor Raits wrote: > > > On Sun, 2020-08-30 at 12:37 +0100, Tomasz Kłoczko wrote: > > > > On Fri, 24 Jul 2020 at 21:31, Igor Raits < > > > > ignatenkobr..

Re: The case of LTO when produced enlarged binaries

2020-08-31 Thread Bob Mauchin
On Mon, Aug 31, 2020, 05:32 Jeff Law wrote: > On Sun, 2020-08-30 at 14:42 +0200, Igor Raits wrote: > > On Sun, 2020-08-30 at 12:37 +0100, Tomasz Kłoczko wrote: > > > On Fri, 24 Jul 2020 at 21:31, Igor Raits < > > > ignatenkobr...@fedoraproject.org> > > > wrote: > > > [..] > > > > > > > Well, I te

Re: The case of LTO when produced enlarged binaries

2020-08-30 Thread Jeff Law
On Sun, 2020-08-30 at 14:42 +0200, Igor Raits wrote: > On Sun, 2020-08-30 at 12:37 +0100, Tomasz Kłoczko wrote: > > On Fri, 24 Jul 2020 at 21:31, Igor Raits < > > ignatenkobr...@fedoraproject.org> > > wrote: > > [..] > > > > > Well, I tell what I see :) > > > > > > Compiling kitty with settings b

Re: The case of LTO when produced enlarged binaries

2020-08-30 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, 2020-08-30 at 12:37 +0100, Tomasz Kłoczko wrote: > On Fri, 24 Jul 2020 at 21:31, Igor Raits < > ignatenkobr...@fedoraproject.org> > wrote: > [..] > > > Well, I tell what I see :) > > > > Compiling kitty with settings below produces this big

Re: The case of LTO when produced enlarged binaries

2020-08-30 Thread Tomasz Kłoczko
On Fri, 24 Jul 2020 at 21:31, Igor Raits wrote: [..] > Well, I tell what I see :) > > Compiling kitty with settings below produces this big > /usr/lib64/kitty/kitty/fast_data_types.so: > > * Without any LTO-related flags: 4.52 MB > * With -flto: 4.30 MB > * With -flto -ffat-lto-objects: 4.79 MB >

Re: The case of LTO when produced enlarged binaries

2020-08-30 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, 2020-07-24 at 14:32 -0600, Jeff Law wrote: > On Fri, 2020-07-24 at 22:30 +0200, Igor Raits wrote: > > On Fri, 2020-07-24 at 14:27 -0600, Jeff Law wrote: > > > On Fri, 2020-07-24 at 22:24 +0200, Igor Raits wrote: > > > > On Fri, 2020-07-24 at

Re: The case of LTO when produced enlarged binaries

2020-07-24 Thread Jeff Law
On Fri, 2020-07-24 at 22:30 +0200, Igor Raits wrote: > On Fri, 2020-07-24 at 14:27 -0600, Jeff Law wrote: > > On Fri, 2020-07-24 at 22:24 +0200, Igor Raits wrote: > > > On Fri, 2020-07-24 at 13:29 -0600, Jeff Law wrote: > > > > On Fri, 2020-07-24 at 19:12 +, Artem Tim wrote: > > > > > Hi. In ra

Re: The case of LTO when produced enlarged binaries

2020-07-24 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, 2020-07-24 at 14:27 -0600, Jeff Law wrote: > On Fri, 2020-07-24 at 22:24 +0200, Igor Raits wrote: > > On Fri, 2020-07-24 at 13:29 -0600, Jeff Law wrote: > > > On Fri, 2020-07-24 at 19:12 +, Artem Tim wrote: > > > > Hi. In rare cases build

Re: The case of LTO when produced enlarged binaries

2020-07-24 Thread Jeff Law
On Fri, 2020-07-24 at 22:24 +0200, Igor Raits wrote: > On Fri, 2020-07-24 at 13:29 -0600, Jeff Law wrote: > > On Fri, 2020-07-24 at 19:12 +, Artem Tim wrote: > > > Hi. In rare cases building packages with LTO producing binaries or > > > libraries which have bigger size then if they have built w

Re: The case of LTO when produced enlarged binaries

2020-07-24 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, 2020-07-24 at 13:29 -0600, Jeff Law wrote: > On Fri, 2020-07-24 at 19:12 +, Artem Tim wrote: > > Hi. In rare cases building packages with LTO producing binaries or > > libraries which have bigger size then if they have built without > > L

Re: The case of LTO when produced enlarged binaries

2020-07-24 Thread Jeff Law
On Fri, 2020-07-24 at 19:12 +, Artem Tim wrote: > Hi. In rare cases building packages with LTO producing binaries or libraries > which have bigger size then if they have built without LTO. For example > 'kitty' package: > > * with LTO: > - koji task https://koji.fedoraproject.org/koji/task

The case of LTO when produced enlarged binaries

2020-07-24 Thread Artem Tim
Hi. In rare cases building packages with LTO producing binaries or libraries which have bigger size then if they have built without LTO. For example 'kitty' package: * with LTO: - koji task https://koji.fedoraproject.org/koji/taskinfo?taskID=47762998 1.79 MB glfw-wayland.so 1.99 MB glf