Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-20 Thread Pacho Ramos
El jue, 19-02-2015 a las 00:48 +0100, Michael Biebl escribió: [...] Incidentally, we do have to remove the -Wl,-fuse-ld=gold line in Debian as well, since gold is problematic/less mature on various architectures. Couldn't we just add -Wl,-fuse-ld=gold via LDFLAGS in autogen.sh? We also

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-19 Thread Umut Tezduyar Lindskog
For the reference, LTO doesn't work with systemd 218 on mips: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026326.html On Wed, Feb 18, 2015 at 7:45 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: LTO may be unreliable, does not work properly in several archs It may

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Lennart Poettering
On Wed, 18.02.15 16:25, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 18/02/15 a las 15:58, Lennart Poettering escribió: On Wed, 18.02.15 15:45, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: LTO may be unreliable, does not work properly in several archs It may crash or

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Cristian Rodríguez
El 18/02/15 a las 15:58, Lennart Poettering escribió: On Wed, 18.02.15 15:45, Cristian Rodríguez (crrodrig...@opensuse.org) 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

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Lennart Poettering
On Wed, 18.02.15 15:45, Cristian Rodríguez (crrodrig...@opensuse.org) 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

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Michael Biebl
2015-02-18 20:34 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, why patch anything? You already have a configure option, just by adding LDFLAGS= and CFLAGS= to the end of the configure line. What's the point of having an explicit option for that? What is the reason to override the

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Michael Biebl
2015-02-19 0:39 GMT+01:00 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: On Wed, Feb 18, 2015 at 11:52:50PM +0100, Michael Biebl wrote: 2015-02-18 20:34 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, why patch anything? You already have a configure option, just by adding LDFLAGS=

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-18 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 18, 2015 at 11:52:50PM +0100, Michael Biebl wrote: 2015-02-18 20:34 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, why patch anything? You already have a configure option, just by adding LDFLAGS= and CFLAGS= to the end of the configure line. What's the point of