From 84a198e44eeba50253f10bbbda5becd11ecf577d9089b31625177710d0c465df Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 7 Jan 2020 15:09:54 +0000 Subject: [PATCH] Accepting request 761623 from home:Andreas_Schwab:Factory - Disable LTO during testsuite run OBS-URL: https://build.opensuse.org/request/show/761623 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=329 --- binutils.changes | 5 +++++ binutils.spec | 13 ++++++++----- cross-aarch64-binutils.changes | 5 +++++ cross-aarch64-binutils.spec | 13 ++++++++----- cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 13 ++++++++----- cross-avr-binutils.changes | 5 +++++ cross-avr-binutils.spec | 13 ++++++++----- cross-epiphany-binutils.changes | 5 +++++ cross-epiphany-binutils.spec | 13 ++++++++----- cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 13 ++++++++----- cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 13 ++++++++----- cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 13 ++++++++----- cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 13 ++++++++----- cross-m68k-binutils.changes | 5 +++++ cross-m68k-binutils.spec | 13 ++++++++----- cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 13 ++++++++----- cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 13 ++++++++----- cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 13 ++++++++----- cross-ppc64le-binutils.changes | 5 +++++ cross-ppc64le-binutils.spec | 13 ++++++++----- cross-riscv64-binutils.changes | 5 +++++ cross-riscv64-binutils.spec | 13 ++++++++----- cross-rx-binutils.changes | 5 +++++ cross-rx-binutils.spec | 13 ++++++++----- cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 13 ++++++++----- cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 13 ++++++++----- cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 13 ++++++++----- cross-sparc64-binutils.changes | 5 +++++ cross-sparc64-binutils.spec | 13 ++++++++----- cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 13 ++++++++----- cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 13 ++++++++----- cross-xtensa-binutils.changes | 5 +++++ cross-xtensa-binutils.spec | 13 ++++++++----- 46 files changed, 299 insertions(+), 115 deletions(-) diff --git a/binutils.changes b/binutils.changes index 3713dd3..e0a087b 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/binutils.spec b/binutils.spec index e3eb3f9..c5c9c23 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -65,7 +65,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -344,9 +344,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 068d3cd..ef9afd4 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 859e39f..cbbd284 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 3106467..8c00af8 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 1db4de6..f4efd43 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 0f90dee..6b0f695 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 24cdce7..f8d687c 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index b407b50..6112e0c 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 6533775..d8eea51 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 5180038..7bed133 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-m68k-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index d708464..4cff298 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index be7c003..58624a1 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 67b8884..797ea0f 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 9f413f9..8cbdf61 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64le-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 002641d..a70d9a4 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-riscv64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 6a1330c..230e34a 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 1768d53..3b08f44 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 49e047a..102f4d3 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 257e81a..ebb2100 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 3dc9251..560ac76 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 9bc5d28..45124f9 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 4b2d2ec..48a29b8 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 3713dd3..e0a087b 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab + +- Disable LTO during testsuite run + ------------------------------------------------------------------- Wed Nov 20 16:22:51 UTC 2019 - matz@suse.com diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index 6807b86..1184b25 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-xtensa-binutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +68,7 @@ Release: 0 # # # -Url: http://www.gnu.org/software/binutils/ +URL: http://www.gnu.org/software/binutils/ PreReq: %{install_info_prereq} # bug437293 %ifarch ppc64 @@ -347,9 +347,12 @@ make -C gas-nesc %{?_smp_mflags} unset SUSE_ASNEEDED cd build-dir %if 0%{?cross:1} -make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling} +make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling} %else -make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || : +%if "%{?_lto_cflags}" != "" +RPM_OPT_FLAGS+=" -fno-lto" +%endif +make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling} %endif %install