* [Buildroot] [PATCH v2 1/1] package/gcc-bare-metal: decouple from gcc package
@ 2025-08-18 4:47 Neal Frager via buildroot
2025-09-24 20:53 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Neal Frager via buildroot @ 2025-08-18 4:47 UTC (permalink / raw)
To: buildroot
Cc: thomas.petazzoni, ju.o, romain.naour, romain.naour,
ibai.erkiaga-elorza, Neal Frager
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 <neal.frager@amd.com>
---
V1->V2:
- removed COPYING.RUNTIME hash as it is not used by gcc-bare-metal
---
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
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH v2 1/1] package/gcc-bare-metal: decouple from gcc package
2025-08-18 4:47 [Buildroot] [PATCH v2 1/1] package/gcc-bare-metal: decouple from gcc package Neal Frager via buildroot
@ 2025-09-24 20:53 ` Julien Olivain via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2025-09-24 20:53 UTC (permalink / raw)
To: Neal Frager
Cc: buildroot, thomas.petazzoni, romain.naour, romain.naour,
ibai.erkiaga-elorza
On 18/08/2025 06:47, Neal Frager via buildroot wrote:
> 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 <neal.frager@amd.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-24 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 4:47 [Buildroot] [PATCH v2 1/1] package/gcc-bare-metal: decouple from gcc package Neal Frager via buildroot
2025-09-24 20:53 ` Julien Olivain via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.