From 7bb2daa6123bae3e3efae25f6b3c9167a340bf8e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 31 Jul 2020 18:39:00 -0600 Subject: [PATCH] Re-enable LTO --- binutils.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/binutils.spec b/binutils.spec index 7710c85..09318e6 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.35 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -418,11 +418,6 @@ touch */configure #---------------------------------------------------------------------------- %build -# LTO is triggering a bug in ld which in turn causes ld to create incorrect -# binaries. It is not yet clear how serious this bug is (still debugging). -# Until that analysis is finished I am disabling LTO -%define _lto_cflags %{nil} - echo target is %{binutils_target} %ifarch %{power64} @@ -815,6 +810,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Fri Jul 31 2020 Jeff Law - 2.35-10 +- Re-enable LTO + * Fri Jul 31 2020 Jeff Law - 2.35-9 - Disable LTO for bootstrapping purposes