Skip to contentSkip to conversation

gcc: disallow 4.8.x for ARMv8 cores

PATCH New Peter Korsgaard 2 participants 5 messages Dec 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gcc: disallow 4.8.x for ARMv8 cores

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32 mode only from 4.9), but it doesn't handle --with-abi, and as there is unlikely to be any aarch64 based legacy projects unwilling to use a newer GCC version it is simpler to disallow it for all modes.

---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/Config.in.host +1 -1
index 0fc1ec4..62da5b5 100644
@@ -13,7 +13,7 @@ choice
 		depends on !BR2_microblaze && !BR2_arc \
 			&& !BR2_powerpc64le && !BR2_nios2 && !BR2_bfin
 		# Broken or unsupported ARM cores
-		depends on !BR2_cortex_a12 && !BR2_cortex_a17
+		depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
 		# Broken or unsupported PPC cores
 		depends on !BR2_powerpc_power8
 		# Unsupported MIPS cores
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/2 gcc: disallow 4.8.x for ARMv8 cores

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32 mode only from 4.9), but it doesn't handle --with-abi, and as there is unlikely to be any aarch64 based legacy projects unwilling to use a newer GCC version it is simpler to disallow it for all modes.

Committed both, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/2 gcc: disallow 4.8.x for ARMv8 cores

In reply to Peter Korsgaard

Hello,

Quoted 6 lines · Peter Korsgaard

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32 mode only from 4.9), but it doesn't handle --with-abi, and as there is unlikely to be any aarch64 based legacy projects unwilling to use a newer GCC version it is simpler to disallow it for all modes.

Thanks!

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 2/2 gcc: disallow 4.9.x for ARM cortex-a72

In reply to Peter Korsgaard

a72 support was only added in the 5.1 cycle.

---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/Config.in.host +1 -1
index 62da5b5..0f6ced5 100644
@@ -41,7 +41,7 @@ choice
 		# Broken or unsupported architectures
 		depends on !BR2_arc && !BR2_bfin
 		# Broken or unsupported ARM cores
-		depends on !BR2_cortex_a17
+		depends on !BR2_cortex_a17 && !BR2_cortex_a72
 		# Unsupported MIPS cores
 		depends on !BR2_mips_interaptiv
 		# Unsupported for MIPS R5
Signature · 1 line
2.10.2
#4 lore raw

PATCH 2/2 gcc: disallow 4.9.x for ARM cortex-a72

Hello,

Quoted 6 lines · Peter Korsgaard

a72 support was only added in the 5.1 cycle.

---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com