[systemd-devel] [PATCH] build-sys: do proper LTO with GCC without needing fat objects

2014-06-05 Thread Jan Alexander Steffens (heftig)
commit 235c6e6 added `-ffat-lto-objects` in order to work around GCC 4.9's new default of disabling such objects. However, this also means LTO doesn't optimize across static libraries — and never did so in the past, either. Use the GCC wrappers for the binutils tools `nm`, `ranlib` and `ar` in

Re: [systemd-devel] [PATCH] build-sys: do proper LTO with GCC without needing fat objects

2014-06-05 Thread Cristian Rodríguez
El 05/06/14 17:49, Jan Alexander Steffens (heftig) escribió: commit 235c6e6 added `-ffat-lto-objects` in order to work around GCC 4.9's new default of disabling such objects. However, this also means LTO doesn't optimize across static libraries — and never did so in the past, either. Use

Re: [systemd-devel] [PATCH] build-sys: do proper LTO with GCC without needing fat objects

2014-06-05 Thread Cristian Rodríguez
El 05/06/14 17:49, Jan Alexander Steffens (heftig) escribió: commit 235c6e6 added `-ffat-lto-objects` in order to work around GCC 4.9's new default of disabling such objects. The other possibility and that we face that this LTO thing does not seem ready for prime time yet and either disable it