From 626fe753e0966cb14ef41f1e5d6d2a3fd899fd4c47c87baa82d8ee8acea98cd3 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 2 May 2024 09:47:03 +0000 Subject: [PATCH 1/2] Accepting request 1149163 from home:dimstar:rpm4.20:b Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149163 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=466 --- binutils.changes | 5 +++++ binutils.spec | 54 ++++++++++++++++++++++++------------------------ 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/binutils.changes b/binutils.changes index 2e3566e..3798629 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 10:11:25 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Feb 21 09:56:08 UTC 2024 - Andreas Schwab diff --git a/binutils.spec b/binutils.spec index 75fa346..1c5840e 100644 --- a/binutils.spec +++ b/binutils.spec @@ -253,40 +253,40 @@ cp ld/ldgram.y ld/ldgram.y.orig # Patch is outside test_vanilla because it's supposed to be the # patch bringing the tarball to the newest upstream version -%patch1 -p1 +%patch -P 1 -p1 %if !%{test_vanilla} -%patch3 -p1 -%patch4 -%patch5 -%patch6 -%patch8 -%patch9 -%patch10 -%patch12 -%patch14 -%patch15 -%patch22 -%patch34 -p1 -%patch36 -p1 +%patch -P 3 -p1 +%patch -P 4 +%patch -P 5 +%patch -P 6 +%patch -P 8 +%patch -P 9 +%patch -P 10 +%patch -P 12 +%patch -P 14 +%patch -P 15 +%patch -P 22 +%patch -P 34 -p1 +%patch -P 36 -p1 %if %{suse_version} < 1550 -%patch37 -p1 +%patch -P 37 -p1 %endif -%patch38 -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 +%patch -P 38 +%patch -P 39 -p1 +%patch -P 40 -p1 +%patch -P 41 -p1 %if %{suse_version} < 1550 -%patch42 -p1 -%patch43 -p1 -%patch44 -p1 +%patch -P 42 -p1 +%patch -P 43 -p1 +%patch -P 44 -p1 %endif -%patch60 -p1 -%patch61 -p1 +%patch -P 60 -p1 +%patch -P 61 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h -%patch90 -%patch92 -%patch93 -p1 +%patch -P 90 +%patch -P 92 +%patch -P 93 -p1 %endif # # test_vanilla From 25ef655d66c87093d45892c32af49794b49b7952a942293be66399c781ffc396 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 2 May 2024 09:48:54 +0000 Subject: [PATCH 2/2] Accepting request 1171128 from home:bmwiedemann:branches:devel:gcc Allow to disable profiling there were some variations in .gcda files that rarely could lead to variations in optimized finaly binaries OBS-URL: https://build.opensuse.org/request/show/1171128 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=467 --- binutils.changes | 5 +++++ binutils.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils.changes b/binutils.changes index 3798629..7c6eb64 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 1 09:52:29 UTC 2024 - Bernhard Wiedemann + +- Allow to disable profiling + ------------------------------------------------------------------- Thu Feb 22 10:11:25 UTC 2024 - Dominique Leuenberger diff --git a/binutils.spec b/binutils.spec index 1c5840e..4109f50 100644 --- a/binutils.spec +++ b/binutils.spec @@ -380,7 +380,7 @@ cd build-dir %endif --enable-shared \ %if %{suse_version} > 1500 -%if %{with bootstrap} +%if %{with bootstrap} && 0%{?do_profiling} --enable-pgo-build=lto \ %endif --enable-colored-disassembly \