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.

> GOLD also does not work everywhere.

Well, that's something to fix in gold.

What's wrong with adding

       CFLAGS=-fno-lto LDFLAGS=-Wl,-fuse-ld=bfd

to the end of your configure line? That should be option enough...

The thing is that LTO is actually kinda important for us, since we
link so much stuff over and over again into many binaries.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to