From 6442193bfff72a2b538bf2cb32110850033dea24 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 30 Jul 2020 22:31:29 +0100 Subject: [PATCH] Disable LTO again, it causes "ar" to segfault. --- binutils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/binutils.spec b/binutils.spec index 1a56f87..1f9925b 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: 5%{?dist} +Release: 6%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -411,7 +411,7 @@ touch */configure # 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} +%define _lto_cflags %{nil} echo target is %{binutils_target} @@ -805,6 +805,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Jul 30 2020 Richard W.M. Jones - 2.35-6 +- Disable LTO again, it causes "ar" to segfault. + * Thu Jul 30 2020 Nick Clifton - 2.35-5 - Default to DWARF level 3 in the assembler.