El 18/02/15 a las 15:58, Lennart Poettering escribió:
On Wed, 18.02.15 15:45, Cristian Rodríguez ([email protected]) wrote:

LTO may be unreliable, does not work properly in several archs
It may crash or produce wrong code.

Well, that's something to fix in the LTO code.

Compiler developers also said we should not provide production
RPM packages with LTO enabled.

We have been doing that for a number of releases on Fedora. Seems to
work fine.

Yes, it works in x86_64, except we need to produce working -debuginfo packages and LTO produces unusable debug infos..

Anyway,,currently this is not suitable for us at all. let me explain a bit...

Building systemd is affected by this GCC bug (not in fread but *poll)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886

We can't just ignore the warnings like "warning: call to ‘__*_chk_warn’ declared with attribute warning: poll called with fds buffer too small file nfds entries" why ? The openSUSE buildsystem considers this warnings as security holes and the package is automatically marked as failed and is automatically rejected for inclusion.

So we currently disable LTO with a patch, not as nice as the one I posted.




_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to