FS#72372 - [systemd] Link-time optimization (LTO)

Attached to Project: Arch Linux
Opened by lukpod (lukpod) - Thursday, 07 October 2021, 20:53 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 10 October 2021, 18:27 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 10 October 2021, 18:27 GMT
Reason for closing:  Not a bug
Additional comments about closing:  already set by arch-meson
Comment by loqs (loqs) - Thursday, 07 October 2021, 22:08 GMT
systemd uses arch-meson which enables LTO [1] so it is already being built with LTO.

From the start of build()
exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true systemd-stable build -Dversion-tag=249.4-2-arch -Dmode=release -Dgnu-efi=true -Dima=false -Dlibidn2=true -Dlz4=true -Dman=true -Ddbuspolicydir=/usr/share/dbus-1/system.d -Ddefault-dnssec=no -Ddefault-hierarchy=unified -Ddefault-kill-user-processes=false -Ddefault-locale=C -Dlocalegen-path=/usr/bin/locale-gen -Ddns-over-tls=openssl -Dfallback-hostname=archlinux -Dnologin-path=/usr/bin/nologin '-Dntp-servers=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org' '-Ddns-servers=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888' -Drpmmacrosdir=no -Dsysvinit-path= -Dsysvrcnd-path= -Dsbat-distro=arch '-Dsbat-distro-summary=Arch Linux' -Dsbat-distro-pkgname=systemd -Dsbat-distro-version=249.4 -Dsbat-distro-url=https://archlinux.org/packages/core/x86_64/systemd/

[1] https://github.com/archlinux/svntogit-packages/blob/packages/meson/trunk/arch-meson

Loading...