[Bug 271798] multimedia/ffmpeg: Enable LTO by default on aarch64 and amd64
Date: Sat, 03 Jun 2023 11:36:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271798 --- Comment #2 from Jan Beich <jbeich@FreeBSD.org> --- If LTO has placebo benefit then the port option should be removed in favor of WITH_LTO via Mk/Features/lto.mk e.g., to reduce maintenance. LTO isn't safe with mixed alignment (e.g., in dav1d) or mixed toolchain (LLVM bitcode vs. GCC GIMPLE when using static libraries) but I didn't notice issues when dogfooding LTO in ffmpeg. Examples documenting statistical difference: - ports d4e1f93dbb3a (svt-av1) - ports 32c2b95c682e (libjxl) - ports 501e1ed88f97 (foot) However, ports 55006395d27c (mesa-devel) and ports 6ec985b72d58 (firefox) relied on upstream benchmarks. -- You are receiving this mail because: You are the assignee for the bug.