Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores
@ 2016-12-06 16:36 Peter Korsgaard
  2016-12-06 16:36 ` [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72 Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Korsgaard @ 2016-12-06 16:36 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 0fc1ec4..62da5b5 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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
-- 
2.10.2

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

* [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72
  2016-12-06 16:36 [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Peter Korsgaard
@ 2016-12-06 16:36 ` Peter Korsgaard
  2016-12-06 20:14   ` Thomas Petazzoni
  2016-12-06 20:13 ` [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Thomas Petazzoni
  2016-12-06 20:38 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2016-12-06 16:36 UTC (permalink / raw)
  To: buildroot

a72 support was only added in the 5.1 cycle.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 62da5b5..0f6ced5 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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
-- 
2.10.2

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

* [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores
  2016-12-06 16:36 [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Peter Korsgaard
  2016-12-06 16:36 ` [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72 Peter Korsgaard
@ 2016-12-06 20:13 ` Thomas Petazzoni
  2016-12-06 20:38 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-12-06 20:13 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Dec 2016 17:36:17 +0100, Peter Korsgaard wrote:
> 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.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks!
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72
  2016-12-06 16:36 ` [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72 Peter Korsgaard
@ 2016-12-06 20:14   ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-12-06 20:14 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Dec 2016 17:36:18 +0100, Peter Korsgaard wrote:
> a72 support was only added in the 5.1 cycle.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/gcc/Config.in.host | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks!
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores
  2016-12-06 16:36 [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Peter Korsgaard
  2016-12-06 16:36 ` [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72 Peter Korsgaard
  2016-12-06 20:13 ` [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Thomas Petazzoni
@ 2016-12-06 20:38 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2016-12-06 20:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> 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.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed both, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2016-12-06 20:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-06 16:36 [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Peter Korsgaard
2016-12-06 16:36 ` [Buildroot] [PATCH 2/2] gcc: disallow 4.9.x for ARM cortex-a72 Peter Korsgaard
2016-12-06 20:14   ` Thomas Petazzoni
2016-12-06 20:13 ` [Buildroot] [PATCH 1/2] gcc: disallow 4.8.x for ARMv8 cores Thomas Petazzoni
2016-12-06 20:38 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox