[systemd/f22] arm: reenable lto. gcc-5.0.0-0.16 fixed the crash (#1193212)

Michal Schmidt michich at fedoraproject.org
Fri Mar 6 15:52:01 UTC 2015


commit fd1e47240a197af9380c80031a5f51f73a5a5475
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Feb 25 10:01:30 2015 +0100

    arm: reenable lto. gcc-5.0.0-0.16 fixed the crash (#1193212)

 systemd.spec | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index f4003f3..96f8dc8 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -13,7 +13,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        219
-Release:        6%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        7%{?gitcommit:.git%{gitcommit}}%{?dist}
 # For a breakdown of the licensing, see README
 License:        LGPLv2+ and MIT and GPLv2+
 Summary:        A System and Service Manager
@@ -324,12 +324,6 @@ CONFIGURE_OPTS=(
         --disable-terminal
 )
 
-%ifarch %{arm} aarch64
-# lto on arm is broken
-# https://bugzilla.redhat.com/show_bug.cgi?id=1193212
-CFLAGS="%{optflags} -fno-lto"
-%endif
-
 pushd build3
 %define _configure ../configure
 %configure \
@@ -887,6 +881,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
 /usr/lib/firewalld/services/*
 
 %changelog
+* Fri Mar 06 2015 Michal Schmidt <mschmidt at redhat.com> - 219-7
+- arm: reenable lto. gcc-5.0.0-0.16 fixed the crash (#1193212)
+
 * Tue Mar  3 2015 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 219-6
 - Reworked device handling (#1195761)
 - ACL handling fixes


More information about the scm-commits mailing list