All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] update GCC version check after Kbuild bump
@ 2025-12-02  4:10 Brian Sune
  2025-12-06 16:12 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Sune @ 2025-12-02  4:10 UTC (permalink / raw)
  To: Chee Tien Fong, Alif Zakuan Yuslaimi, Tom Rini, u-boot

ARM GCC tool check is not up to date,
while issues are reported such as file truncated linker errors.
Using ARM official cross tools shows that 10.0.1 is a safe
version to support latest kbuild bump properly.

Signed-off-by: Brian Sune <briansune@gmail.com>
---
 arch/arm/config.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 73fddd50bd7..a7eff84a267 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -58,7 +58,7 @@ endif
 
 # Only test once
 ifeq ($(CONFIG_$(PHASE_)SYS_THUMB_BUILD),y)
-archprepare: checkthumb checkgcc6
+archprepare: checkthumb checkgcc10
 
 checkthumb:
 	@if test "$(call cc-name)" = "gcc" -a \
@@ -69,13 +69,13 @@ checkthumb:
 		false; \
 	fi
 else
-archprepare: checkgcc6
+archprepare: checkgcc10
 endif
 
-checkgcc6:
+checkgcc10:
 	@if test "$(call cc-name)" = "gcc" -a \
-			"$(call cc-version)" -lt "0600"; then \
-		echo '*** Your GCC is older than 6.0 and is not supported'; \
+			"$(call cc-version)" -lt "1000"; then \
+		echo '*** Your GCC is older than 10.0 and is not supported'; \
 		false; \
 	fi
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] update GCC version check after Kbuild bump
  2025-12-02  4:10 [PATCH v1] update GCC version check after Kbuild bump Brian Sune
@ 2025-12-06 16:12 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2025-12-06 16:12 UTC (permalink / raw)
  To: Chee Tien Fong, Alif Zakuan Yuslaimi, u-boot, Brian Sune

On Tue, 02 Dec 2025 12:10:29 +0800, Brian Sune wrote:

> ARM GCC tool check is not up to date,
> while issues are reported such as file truncated linker errors.
> Using ARM official cross tools shows that 10.0.1 is a safe
> version to support latest kbuild bump properly.
> 
> 

Applied to u-boot/master, thanks!

[1/1] update GCC version check after Kbuild bump
      commit: bb1c2b463265175f05a1e5de7b39de815db1a03a
-- 
Tom



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-06 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02  4:10 [PATCH v1] update GCC version check after Kbuild bump Brian Sune
2025-12-06 16:12 ` Tom Rini

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.