[systemd-devel] Is LTO worth it?
Lennart Poettering
lennart at poettering.net
Mon Jan 11 17:49:35 UTC 2021
On Mo, 11.01.21 18:05, Michael Biebl (mbiebl at gmail.com) wrote:
> 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.
So, systemd's testsuite is certainly not supposed to be a testsuite
for testing compilers, but one for testing systemd, so you have a
point: if we don't need a compiler feature, and it makes things worse
for us it might be something to switch off in the CI/test suite.
otoh, LTO appears to be something that is "kinda standard" already and
soon "very clearly standard" — if those distros really follow through
and build the whole shebang with it. And given that we should test
stuff forward looking how the real world will use the stuff I figure
it makes sense to keep it on.
Dunno, i have no strong opinion on LTO anymore (I used to, when our
builds kinda required it). If this is important to you I'd suggest
open a feature about it, any ping @mrc0mmand about it (he's our CI
go-to guy).
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list