[systemd-devel] Is LTO worth it?

Michael Biebl mbiebl at gmail.com
Mon Jan 11 17:05:26 UTC 2021


Am Mo., 11. Jan. 2021 um 16:39 Uhr schrieb Lennart Poettering
<lennart at poettering.net>:
> 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.


More information about the systemd-devel mailing list