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

Michal Schmidt michich at fedoraproject.org
Wed Feb 25 11:41:38 UTC 2015


commit ade6190d36f0b2b120a3237bf28eae690e4a1c24
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 85c7fbd..72cb2ae 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,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
@@ -302,12 +302,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 \
@@ -865,6 +859,9 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
 /usr/lib/firewalld/services/*
 
 %changelog
+* Wed Feb 25 2015 Michal Schmidt <mschmidt at redhat.com> - 219-7
+- arm: reenable lto. gcc-5.0.0-0.16 fixed the crash (#1193212)
+
 * Tue Feb 24 2015 Colin Walters <walters at redhat.com> - 219-6
 - Revert patch that breaks Atomic/OSTree (#1195761)
 


More information about the scm-commits mailing list