Re: Is LTO worth it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 11.01.21 um 18:05 schrieb Michael Biebl:
Am Mo., 11. Jan. 2021 um 16:39 Uhr schrieb Lennart Poettering
<lennart@xxxxxxxxxxxxxx>:
https://fedoraproject.org/wiki/LTOByDefault

Interestingly, that wiki page says, that LTO should produce smaller
binaries, which clearly isn't the case here.
I wonder whether the wiki is incorrect or whether this is a toolchain
issue or if this is specific to systemd
Or maybe this is Debian specific. Would be interested to see numbers
from other distros.

Concerning the build speed: I wonder whether at least disabling LTO on
our CI would make sense. We don't really care for fast/small
executables there.

it don't make sense using different flags in CI and production builds, especially LTO which often points out otherwise unvisible bugs
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux