From 0af851ae02d9a40fc1fd336aa66ede0b26b96d2e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 26 Jul 2020 12:02:43 -0600 Subject: [PATCH] Disable LTO for now --- binutils.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 9d654b1..a5472ea 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: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -404,6 +404,11 @@ 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} @@ -796,6 +801,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Sun Jul 26 2020 Jeff Law - 2.35-2 +- Disable LTO for now + * Sun Jul 26 2020 Nick Clifton - 2.35-1 - Rebase to GNU Binutils 2.35. (#1854613)