On 19.12.2019 22:41, Ben Cotton wrote:
This is a proposal to enable link time optimization (LTO) of
packages
built with rpmbuild by default. It's an over-simplification, but
think of LTO as deferring analysis, optimization and code generation
until creation of an executable or dynamic shared object.
Nice. LTO can significantly reduce binary size. I tested it on my
packages and it work great except Qt5 packages built with clang compiler
due to upstream bug[1].
Currently even Qt's hello world app cannot be compiled by clang with LTO
enabled.
[1]:
https://bugreports.qt.io/browse/QTBUG-61710
--
Sincerely,
Vitaly Zaitsev (vitaly(a)easycoding.org)