From fa08ac1d1820b34cd4bab9394cab2c50292b95cd Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Tue, 15 Apr 2025 18:50:54 +0200 Subject: [PATCH 1/6] rebuild for new arm-none-eabi-newlib --- arm-none-eabi-gcc-cs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index e00f1f3..5ae07b8 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: 14.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -292,6 +292,9 @@ popd %endif %changelog +* Tue Apr 15 2025 Michal Hlavinka - 1:14.1.0-4 +- rebuild for new arm-none-eabi-newlib + * Thu Jan 16 2025 Fedora Release Engineering - 1:14.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5e828f83274b1cf431a360a561fa2f2e0affc7c9 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Mon, 19 May 2025 16:24:58 +0200 Subject: [PATCH 2/6] updated to 15.1.0 --- .gitignore | 1 + arm-none-eabi-gcc-cs.spec | 14 ++--- gcc12-hack.patch | 126 -------------------------------------- sources | 2 +- 4 files changed, 8 insertions(+), 135 deletions(-) delete mode 100644 gcc12-hack.patch diff --git a/.gitignore b/.gitignore index 4e4be9b..1a46f6a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /gcc-13.1.0.tar.xz /gcc-13.2.0.tar.xz /gcc-14.1.0.tar.xz +/gcc-15.1.0.tar.xz diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index 5ae07b8..8fcd6d0 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 %{version} -%global gcc_short_ver 13.1 +%global gcc_short_ver 15.1 # 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: 14.1.0 -Release: 4%{?dist} +Version: 15.1.0 +Release: 1%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -19,8 +19,6 @@ Source0: http://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz Source1: README.fedora Source2: bootstrapexplain -Patch1: gcc12-hack.patch - #BuildRequires: autoconf = 2.69 BuildRequires: gcc-c++ BuildRequires: %{target}-binutils >= 2.21, zlib-devel gmp-devel mpfr-devel libmpc-devel flex autogen @@ -54,9 +52,6 @@ compile c++ code for the %{target} platform, instead of for the native %prep %setup -q -c -pushd gcc-%{gcc_ver} -%patch -P1 -p0 -b .hack -popd pushd gcc-%{gcc_ver}/libiberty #autoconf -f popd @@ -292,6 +287,9 @@ popd %endif %changelog +* Mon May 19 2025 Michal Hlavinka - 1:15.1.0-1 +- updated to 15.1.0 + * Tue Apr 15 2025 Michal Hlavinka - 1:14.1.0-4 - rebuild for new arm-none-eabi-newlib diff --git a/gcc12-hack.patch b/gcc12-hack.patch deleted file mode 100644 index e98649e..0000000 --- a/gcc12-hack.patch +++ /dev/null @@ -1,126 +0,0 @@ ---- libada/Makefile.in.jj 2019-01-09 13:01:18.015608205 +0100 -+++ libada/Makefile.in 2019-01-11 18:16:23.441726931 +0100 -@@ -71,18 +71,40 @@ version := $(shell @get_gcc_base_ver@ $( - libsubdir := $(libdir)/gcc/$(target_noncanonical)/$(version)$(MULTISUBDIR) - ADA_RTS_DIR=$(GCC_DIR)/ada/rts$(subst /,_,$(MULTISUBDIR)) - -+DEFAULTMULTIFLAGS := -+ifeq ($(MULTISUBDIR),) -+targ:=$(subst -, ,$(target)) -+arch:=$(word 1,$(targ)) -+ifeq ($(words $(targ)),2) -+osys:=$(word 2,$(targ)) -+else -+osys:=$(word 3,$(targ)) -+endif -+ifeq ($(strip $(filter-out i%86 x86_64 powerpc% ppc% s390% sparc% linux%, $(arch) $(osys))),) -+ifeq ($(shell $(CC) $(CFLAGS) -print-multi-os-directory),../lib64) -+DEFAULTMULTIFLAGS := -m64 -+else -+ifeq ($(strip $(filter-out s390%, $(arch))),) -+DEFAULTMULTIFLAGS := -m31 -+else -+DEFAULTMULTIFLAGS := -m32 -+endif -+endif -+endif -+endif -+ - # exeext should not be used because it's the *host* exeext. We're building - # a *target* library, aren't we?!? Likewise for CC. Still, provide bogus - # definitions just in case something slips through the safety net provided - # by recursive make invocations in gcc/ada/Makefile.in - LIBADA_FLAGS_TO_PASS = \ - "MAKEOVERRIDES=" \ -- "LDFLAGS=$(LDFLAGS)" \ -+ "LDFLAGS=$(LDFLAGS) $(DEFAULTMULTIFLAGS)" \ - "LN_S=$(LN_S)" \ - "SHELL=$(SHELL)" \ -- "GNATLIBFLAGS=$(GNATLIBFLAGS) $(MULTIFLAGS)" \ -- "GNATLIBCFLAGS=$(GNATLIBCFLAGS) $(MULTIFLAGS)" \ -- "GNATLIBCFLAGS_FOR_C=$(GNATLIBCFLAGS_FOR_C) $(MULTIFLAGS)" \ -+ "GNATLIBFLAGS=$(GNATLIBFLAGS) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS)" \ -+ "GNATLIBCFLAGS=$(GNATLIBCFLAGS) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS)" \ -+ "GNATLIBCFLAGS_FOR_C=$(GNATLIBCFLAGS_FOR_C) $(MULTIFLAGS) $(DEFAULTMULTIFLAGS)" \ - "PICFLAG_FOR_TARGET=$(PICFLAG)" \ - "THREAD_KIND=$(THREAD_KIND)" \ - "TRACE=$(TRACE)" \ -@@ -93,7 +115,7 @@ LIBADA_FLAGS_TO_PASS = \ - "exeext=.exeext.should.not.be.used " \ - 'CC=the.host.compiler.should.not.be.needed' \ - "GCC_FOR_TARGET=$(CC)" \ -- "CFLAGS=$(CFLAGS)" -+ "CFLAGS=$(CFLAGS) $(DEFAULTMULTIFLAGS)" - - .PHONY: libada gnatlib gnatlib-shared gnatlib-sjlj gnatlib-zcx osconstool - ---- config-ml.in.jj 2019-01-09 12:50:16.646501448 +0100 -+++ config-ml.in 2019-01-11 18:16:23.442726914 +0100 -@@ -511,6 +511,8 @@ multi-do: - ADAFLAGS="$(ADAFLAGS) $${flags}" \ - prefix="$(prefix)" \ - exec_prefix="$(exec_prefix)" \ -+ mandir="$(mandir)" \ -+ infodir="$(infodir)" \ - GOCFLAGS="$(GOCFLAGS) $${flags}" \ - GDCFLAGS="$(GDCFLAGS) $${flags}" \ - CXXFLAGS="$(CXXFLAGS) $${flags}" \ ---- libcpp/macro.cc.jj 2019-01-09 13:01:21.420552123 +0100 -+++ libcpp/macro.cc 2019-01-11 18:18:17.736876285 +0100 -@@ -3256,8 +3256,6 @@ static cpp_macro * - create_iso_definition (cpp_reader *pfile) - { - bool following_paste_op = false; -- const char *paste_op_error_msg = -- N_("'##' cannot appear at either end of a macro expansion"); - unsigned int num_extra_tokens = 0; - unsigned nparms = 0; - cpp_hashnode **params = NULL; -@@ -3382,7 +3380,9 @@ create_iso_definition (cpp_reader *pfile - function-like macros, but not at the end. */ - if (following_paste_op) - { -- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); -+ cpp_error (pfile, CPP_DL_ERROR, -+ "'##' cannot appear at either end of a macro " -+ "expansion"); - goto out; - } - if (!vaopt_tracker.completed ()) -@@ -3397,7 +3397,9 @@ create_iso_definition (cpp_reader *pfile - function-like macros, but not at the beginning. */ - if (macro->count == 1) - { -- cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); -+ cpp_error (pfile, CPP_DL_ERROR, -+ "'##' cannot appear at either end of a macro " -+ "expansion"); - goto out; - } - ---- libcpp/expr.cc.jj 2019-01-09 13:01:22.415535734 +0100 -+++ libcpp/expr.cc 2019-01-11 18:16:23.444726882 +0100 -@@ -803,16 +803,17 @@ cpp_classify_number (cpp_reader *pfile, - if ((result & CPP_N_WIDTH) == CPP_N_LARGE - && CPP_OPTION (pfile, cpp_warn_long_long)) - { -- const char *message = CPP_OPTION (pfile, cplusplus) -- ? N_("use of C++11 long long integer constant") -- : N_("use of C99 long long integer constant"); -- - if (CPP_OPTION (pfile, c99)) - cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, -- 0, message); -+ 0, CPP_OPTION (pfile, cplusplus) -+ ? N_("use of C++11 long long integer constant") -+ : N_("use of C99 long long integer constant")); - else - cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, -- virtual_location, 0, message); -+ virtual_location, 0, -+ CPP_OPTION (pfile, cplusplus) -+ ? N_("use of C++11 long long integer constant") -+ : N_("use of C99 long long integer constant")); - } - - if ((result & CPP_N_SIZE_T) == CPP_N_SIZE_T diff --git a/sources b/sources index fdd984b..4cd8c6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gcc-14.1.0.tar.xz) = e9e224f2b26646fcf038d28dfa08b94c623bc57941f99894a321d01c600f7c68aff6b8837fd25e73e540de1f8de5606e98694a62cdcdfb525ce768b3ef6879ea +SHA512 (gcc-15.1.0.tar.xz) = ddd35ca6c653dffa88f7c7ef9ee4cd806e156e0f3b30f4d63e75a8363361285cd566ee73127734cde6a934611de815bee3e32e24bfd2e0ab9f7ff35c929821c1 From 607d9ea5cd00d18f925a024e95c75220dc99d852 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 21 May 2025 12:12:46 +0200 Subject: [PATCH 3/6] rebuild with refreshed newlib library --- arm-none-eabi-gcc-cs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index 8fcd6d0..62bb451 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: 15.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -287,6 +287,9 @@ popd %endif %changelog +* Wed May 21 2025 Michal Hlavinka - 1:15.1.0-2 +- rebuild with refreshed newlib library + * Mon May 19 2025 Michal Hlavinka - 1:15.1.0-1 - updated to 15.1.0 From 1c738c8e547231fd786a1413a4967f6bd150efb1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:14:01 +0000 Subject: [PATCH 4/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- arm-none-eabi-gcc-cs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index 62bb451..a90911b 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: 15.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -287,6 +287,9 @@ popd %endif %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 1:15.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed May 21 2025 Michal Hlavinka - 1:15.1.0-2 - rebuild with refreshed newlib library From ed1cde7031f5f95e727ada991144a22b1960f073 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Thu, 18 Sep 2025 14:17:18 +0200 Subject: [PATCH 5/6] updated to 15.2.0 --- .gitignore | 1 + arm-none-eabi-gcc-cs.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1a46f6a..dd1b09d 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /gcc-13.2.0.tar.xz /gcc-14.1.0.tar.xz /gcc-15.1.0.tar.xz +/gcc-15.2.0.tar.xz diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index a90911b..d2f1d88 100644 --- a/arm-none-eabi-gcc-cs.spec +++ b/arm-none-eabi-gcc-cs.spec @@ -9,8 +9,8 @@ Name: %{target}-gcc-cs Epoch: 1 -Version: 15.1.0 -Release: 3%{?dist} +Version: 15.2.0 +Release: 1%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -287,6 +287,9 @@ popd %endif %changelog +* Thu Sep 18 2025 Michal Hlavinka - 1:15.2.0-1 +- updated to 15.2.0 + * Wed Jul 23 2025 Fedora Release Engineering - 1:15.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index 4cd8c6e..d34669e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gcc-15.1.0.tar.xz) = ddd35ca6c653dffa88f7c7ef9ee4cd806e156e0f3b30f4d63e75a8363361285cd566ee73127734cde6a934611de815bee3e32e24bfd2e0ab9f7ff35c929821c1 +SHA512 (gcc-15.2.0.tar.xz) = 89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de From fcb5bb2fcd3eb085ff797d56f0d65faf369f57a2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:55:06 +0000 Subject: [PATCH 6/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- arm-none-eabi-gcc-cs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arm-none-eabi-gcc-cs.spec b/arm-none-eabi-gcc-cs.spec index d2f1d88..c4a329a 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: 15.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNU GCC for cross-compilation for %{target} target License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-2-Clause URL: https://gcc.gnu.org/ @@ -287,6 +287,9 @@ popd %endif %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1:15.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Thu Sep 18 2025 Michal Hlavinka - 1:15.2.0-1 - updated to 15.2.0