From d40c1725b2010c4daf568dc8e04ffaafd47bcd2f Mon Sep 17 00:00:00 2001 From: Neal Frager Date: Mon, 18 Aug 2025 05:47:55 +0100 Subject: [PATCH] package/gcc-bare-metal: decouple from gcc package This patch decouples the gcc-bare-metal package from the gcc package to avoid potential build issues when bumping the version of one package before the other. Such as the build issue example here: https://gitlab.com/buildroot.org/buildroot/-/jobs/11026775160 Since the gcc-bare-metal package does not currently require the gcc 15.2.0 downstream patches, this patch simply deletes the link for patching gcc-bare-metal 15.2.0 with patches that are not needed for bare-metal apps. As for the hash link, this patch creates a new file called gcc-bare-metal.hash which has the same hashes in the gcc.hash file. But by having its own hash file, hashes from the gcc package can be removed when version bumping without causing build errors for the gcc-bare-metal package. Signed-off-by: Neal Frager Signed-off-by: Julien Olivain --- package/gcc-bare-metal/15.2.0 | 1 - package/gcc-bare-metal/gcc-bare-metal.hash | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) delete mode 120000 package/gcc-bare-metal/15.2.0 mode change 120000 => 100644 package/gcc-bare-metal/gcc-bare-metal.hash diff --git a/package/gcc-bare-metal/15.2.0 b/package/gcc-bare-metal/15.2.0 deleted file mode 120000 index d3d1bbdefa..0000000000 --- a/package/gcc-bare-metal/15.2.0 +++ /dev/null @@ -1 +0,0 @@ -../gcc/15.2.0 \ No newline at end of file diff --git a/package/gcc-bare-metal/gcc-bare-metal.hash b/package/gcc-bare-metal/gcc-bare-metal.hash deleted file mode 120000 index d417b0dc77..0000000000 --- a/package/gcc-bare-metal/gcc-bare-metal.hash +++ /dev/null @@ -1 +0,0 @@ -../gcc/gcc.hash \ No newline at end of file diff --git a/package/gcc-bare-metal/gcc-bare-metal.hash b/package/gcc-bare-metal/gcc-bare-metal.hash new file mode 100644 index 0000000000..19678dec30 --- /dev/null +++ b/package/gcc-bare-metal/gcc-bare-metal.hash @@ -0,0 +1,8 @@ +# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/sha512.sum +sha512 89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de gcc-15.2.0.tar.xz + +# Locally calculated +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3 +sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING3.LIB +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB