Skip to contentSkip to conversation

package/gcc: fix BR2_GCC_VERSION_ARC definition for gcc 13.x

PATCH Applied Thomas Petazzoni via buildroot 2 participants 2 messages Mar 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gcc: fix BR2_GCC_VERSION_ARC definition for gcc 13.x

Since the ARC-special GCC version was bumped from gcc 10.x to gcc 13.x in commit 045ab73702b8bc09f94ca1f3b8e5bf3acb0b0843 ("toolchain: bump ARC toolchain components to arc-2023.09-release"), the BR2_GCC_VERSION_ARC option definition is not entirely correct: it selects BR2_TOOLCHAIN_GCC_AT_LEAST_10, while it should select BR2_TOOLCHAIN_GCC_AT_LEAST_13. This commit fixes this.

---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/Config.in.host +1 -1
index fabc6173f5..d294e8da30 100644
@@ -13,7 +13,7 @@ config BR2_GCC_VERSION_ARC
 	bool "gcc arc (13.1)"
 	# Only supported architecture
 	depends on BR2_arc
-	select BR2_TOOLCHAIN_GCC_AT_LEAST_10
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_13
 
 config BR2_GCC_VERSION_POWERPC_SPE
 	bool "gcc powerpc spe"
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Thomas, All,

On 2024-03-03 15:10 +0100, Thomas Petazzoni via buildroot spake thusly:

Quoted 9 lines

Since the ARC-special GCC version was bumped from gcc 10.x to gcc 13.x in commit 045ab73702b8bc09f94ca1f3b8e5bf3acb0b0843 ("toolchain: bump ARC toolchain components to arc-2023.09-release"), the BR2_GCC_VERSION_ARC option definition is not entirely correct: it selects BR2_TOOLCHAIN_GCC_AT_LEAST_10, while it should select BR2_TOOLCHAIN_GCC_AT_LEAST_13. This commit fixes this.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/Config.in.host +1 -1
index fabc6173f5..d294e8da30 100644
@@ -13,7 +13,7 @@ config BR2_GCC_VERSION_ARC
 	bool "gcc arc (13.1)"
 	# Only supported architecture
 	depends on BR2_arc
-	select BR2_TOOLCHAIN_GCC_AT_LEAST_10
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_13
 
 config BR2_GCC_VERSION_POWERPC_SPE
 	bool "gcc powerpc spe"
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot