From f02792836a2c6debf151bb9ba11c286150d01d8d Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Tue, 25 Oct 2022 19:28:24 +0200 Subject: [PATCH 1/5] bootstrap build (do not use) --- arm-none-eabi-gcc-cs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index eda3549..dc00bc1 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -5,12 +5,12 @@ # we need newlib to compile complete gcc, but we need gcc to compile newlib, # so compile minimal gcc first -%global bootstrap 0 +%global bootstrap 1 Name: %{target}-gcc-cs Epoch: 1 Version: 12.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNU GCC for cross-compilation for %{target} target # Most of the sources are licensed under GPLv3+ with these exceptions: @@ -303,6 +303,9 @@ popd %endif %changelog +* Tue Oct 25 2022 Michal Hlavinka - 1:12.2.0-2 +- bootstrap build (do not use) + * Tue Aug 23 2022 Michal Hlavinka - 1:12.2.0-1 - updated to 12.2.0 From 66c6b17f831bdd90ed09a35a88055f66fc8411fe Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 26 Oct 2022 12:03:53 +0200 Subject: [PATCH 2/5] autogen does not seem to be required anymore --- arm-none-eabi-gcc-cs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index dc00bc1..6ca32d5 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -10,7 +10,7 @@ Name: %{target}-gcc-cs Epoch: 1 Version: 12.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GNU GCC for cross-compilation for %{target} target # Most of the sources are licensed under GPLv3+ with these exceptions: @@ -36,7 +36,7 @@ Patch2: gcc12-Wno-format-security.patch #BuildRequires: autoconf = 2.69 BuildRequires: gcc-c++ -BuildRequires: %{target}-binutils >= 2.21, zlib-devel gmp-devel mpfr-devel libmpc-devel flex autogen +BuildRequires: %{target}-binutils >= 2.21, zlib-devel gmp-devel mpfr-devel libmpc-devel flex %if ! %{bootstrap} BuildRequires: %{target}-newlib BuildRequires: make @@ -303,6 +303,9 @@ popd %endif %changelog +* Wed Oct 26 2022 Michal Hlavinka - 1:12.2.0-3 +- autogen does not seem to be required anymore + * Tue Oct 25 2022 Michal Hlavinka - 1:12.2.0-2 - bootstrap build (do not use) From 4dfdcb3881351841d8a3c7fc151254ab8e4124ab Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Sun, 30 Oct 2022 10:33:17 +0100 Subject: [PATCH 3/5] full build --- arm-none-eabi-gcc-cs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index 6ca32d5..614e499 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -5,10 +5,10 @@ # we need newlib to compile complete gcc, but we need gcc to compile newlib, # so compile minimal gcc first -%global bootstrap 1 +%global bootstrap 0 Name: %{target}-gcc-cs -Epoch: 1 +Epoch: 2 Version: 12.2.0 Release: 3%{?dist} Summary: GNU GCC for cross-compilation for %{target} target @@ -303,6 +303,9 @@ popd %endif %changelog +* Sun Oct 30 2022 Michal Hlavinka - 2:12.2.0-3 +- full build + * Wed Oct 26 2022 Michal Hlavinka - 1:12.2.0-3 - autogen does not seem to be required anymore From d5b90f270eb11df23bdb03d6d46da01f88e7bd65 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Sun, 30 Oct 2022 11:21:13 +0100 Subject: [PATCH 4/5] fix nvr --- arm-none-eabi-gcc-cs.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index 614e499..b5951f0 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -8,9 +8,9 @@ %global bootstrap 0 Name: %{target}-gcc-cs -Epoch: 2 +Epoch: 1 Version: 12.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GNU GCC for cross-compilation for %{target} target # Most of the sources are licensed under GPLv3+ with these exceptions: @@ -303,7 +303,7 @@ popd %endif %changelog -* Sun Oct 30 2022 Michal Hlavinka - 2:12.2.0-3 +* Sun Oct 30 2022 Michal Hlavinka - 1:12.2.0-4 - full build * Wed Oct 26 2022 Michal Hlavinka - 1:12.2.0-3 From 156d5b7d7ed1fd30f038b5c6b4cb3c2cd1fe1474 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 11 Sep 2024 11:37:53 +0200 Subject: [PATCH 5/5] updated to 12.4.0 --- .gitignore | 1 + arm-none-eabi-gcc-cs.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index e92566b..292f55a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /gcc-11.3.0.tar.xz /gcc-12.1.0.tar.xz /gcc-12.2.0.tar.xz +/gcc-12.4.0.tar.xz diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index b5951f0..73a41a1 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -1,7 +1,7 @@ %global processor_arch arm %global target %{processor_arch}-none-eabi -%global gcc_ver 12.2.0 -%global gcc_short_ver 12.2 +%global gcc_ver 12.4.0 +%global gcc_short_ver 12.4 # we need newlib to compile complete gcc, but we need gcc to compile newlib, # so compile minimal gcc first @@ -9,8 +9,8 @@ Name: %{target}-gcc-cs Epoch: 1 -Version: 12.2.0 -Release: 4%{?dist} +Version: 12.4.0 +Release: 1%{?dist} Summary: GNU GCC for cross-compilation for %{target} target # Most of the sources are licensed under GPLv3+ with these exceptions: @@ -62,8 +62,8 @@ compile c++ code for the %{target} platform, instead of for the native %prep %setup -q -c pushd gcc-%{gcc_ver} -%patch1 -p0 -b .hack -%patch2 -p0 -b .wnosecerr +%patch -P 1 -p0 -b .hack +%patch -P 2 -p0 -b .wnosecerr popd pushd gcc-%{gcc_ver}/libiberty #autoconf -f @@ -303,6 +303,9 @@ popd %endif %changelog +* Wed Sep 11 2024 Michal Hlavinka - 1:12.4.0-1 +- updated to 12.4.0 + * Sun Oct 30 2022 Michal Hlavinka - 1:12.2.0-4 - full build diff --git a/sources b/sources index 9a340e4..1a08f3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gcc-12.2.0.tar.xz) = e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173 +SHA512 (gcc-12.4.0.tar.xz) = 5bd29402cad2deb5d9388d0236c7146414d77e5b8d5f1c6c941c7a1f47691c3389f08656d5f6e8e2d6717bf2c81f018d326f632fb468f42925b40bd217fc4853