Am 11.01.21 um 15:34 schrieb Michael Biebl:
we've been using LTO in the Debian build for as long as I can
remember, but I begin to question whether that is a good idea.
On Debian sid (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU
Binutils for Debian) 2.35.1),
an LTO build almost takes twice as long as a no-LTO build

it shouldn't if properly used - means param with cpu-cores, just -flto alone is terrible slow

-flto=%(nproc)
%{__make} %{?_smp_mflags}

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to