Disable LTO for now

This commit is contained in:
Jeff Law 2020-07-26 12:02:43 -06:00
parent 15a78ff3d8
commit 0af851ae02

View File

@ -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 <nickc@redhat.com> - 2.35-2
- Disable LTO for now
* Sun Jul 26 2020 Nick Clifton <nickc@redhat.com> - 2.35-1
- Rebase to GNU Binutils 2.35. (#1854613)