From 69966ae21ef341ea3f3a82ca98c15557dcd75212 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 8 Aug 2024 10:23:06 +0100 Subject: [PATCH] Restore LTO use when building binutils. Resolves: RHEL-53215 --- binutils.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/binutils.spec b/binutils.spec index 0a3fe20..97662ab 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?_with_debug:-debug} Version: 2.41 -Release: 47%{?dist} +Release: 48%{?dist} License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later URL: https://sourceware.org/binutils @@ -43,10 +43,8 @@ URL: https://sourceware.org/binutils # Enable support for GCC LTO compilation. # Disable if it is necessary to work around bugs in LTO. -# FIXME: Temporarily disabled because of RHEL-49348. The linker in the current -# RHEL-10 buildroot is suffering from the compilation bug. The workaround is -# to avoid using LTO... -%define enable_lto 0 +# %%define enable_lto 0 +%define enable_lto 1 # Enable support for generating new dtags in the linker # Disable if it is necessary to use RPATH instead. @@ -1392,6 +1390,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Aug 08 2024 Nick Clifton - 2.41-48 +- Restore LTO use when building binutils. (RHEL-53215) + * Tue Jul 30 2024 Nick Clifton - 2.41-47 - Temporary workaround for ppc64 gcc compilation bug. (RHEL-49348)