All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated
@ 2016-02-24 18:00 Gustavo Zacarias
  2016-02-24 18:00 ` [Buildroot] [PATCH 2/2] gcc: remove 4.5.x Gustavo Zacarias
  2016-02-24 19:59 ` [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Peter Korsgaard
  0 siblings, 2 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2016-02-24 18:00 UTC (permalink / raw)
  To: buildroot

We're already using 4.9.x as default, and have 4.8.x on the lower side
together with 5.x (5.3.0) on the higher side.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index cad6896..c677c65 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -40,6 +40,7 @@ choice
 
 	config BR2_GCC_VERSION_4_7_X
 		bool "gcc 4.7.x"
+		depends on BR2_DEPRECATED_SINCE_2016_05
 		# Broken or unsupported architectures
 		depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
 			&& !BR2_powerpc64le && !BR2_nios2
-- 
2.4.10

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-24 18:00 [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Gustavo Zacarias
@ 2016-02-24 18:00 ` Gustavo Zacarias
  2016-02-24 20:02   ` Peter Korsgaard
  2016-02-24 19:59 ` [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Peter Korsgaard
  1 sibling, 1 reply; 11+ messages in thread
From: Gustavo Zacarias @ 2016-02-24 18:00 UTC (permalink / raw)
  To: buildroot

It's been deprecated for some time now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 Config.in.legacy           |  9 +++++++++
 package/gcc/Config.in.host | 26 --------------------------
 2 files changed, 9 insertions(+), 26 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 081bacd..7d2e5e7 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -143,6 +143,15 @@ comment "----------------------------------------------------"
 endif
 
 ###############################################################################
+comment "Legacy options removed in 2016.05"
+
+config BR2_GCC_VERSION_4_5_X
+	bool "gcc 4.5.x has been removed"
+	select BR2_LEGACY
+	help
+	  The 4.5.x version of gcc has been removed. Use a newer
+	  version instead.
+
 comment "Legacy options removed in 2016.02"
 
 config BR2_PACKAGE_DOVECOT_BZIP2
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index c677c65..f86a12e 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -13,31 +13,6 @@ choice
 	help
 	  Select the version of gcc you wish to use.
 
-	config BR2_GCC_VERSION_4_5_X
-		bool "gcc 4.5.x"
-		depends on BR2_DEPRECATED_SINCE_2015_05
-		# Broken or unsupported architectures
-		depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
-			&& !BR2_powerpc64le && !BR2_nios2
-		# Broken or unsupported ARM cores
-		depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
-			!BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4
-		# Broken or unsupported PPC cores
-		depends on !BR2_powerpc_e5500 && !BR2_powerpc_e6500 && \
-			!BR2_powerpc_power8
-		# SPARC -mcpu=leon3 appeared in gcc 4.8.x
-		depends on !BR2_sparc_leon3
-		# Broken or unsupported X86 cores
-		depends on !BR2_x86_corei7 && !BR2_x86_jaguar && !BR2_x86_steamroller
-		# ARM EABIhf support appeared in gcc 4.6
-		depends on !BR2_ARM_EABIHF
-		# Unsupported for MIPS R6
-		depends on !BR2_mips_32r6 && !BR2_mips_64r6
-		# musl patches only for gcc 4.7+
-		depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL
-		select BR2_GCC_NEEDS_MPC
-		select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
-
 	config BR2_GCC_VERSION_4_7_X
 		bool "gcc 4.7.x"
 		depends on BR2_DEPRECATED_SINCE_2016_05
@@ -110,7 +85,6 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
 
 config BR2_GCC_VERSION
 	string
-	default "4.5.4"     if BR2_GCC_VERSION_4_5_X
 	default "4.7.4"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.5"     if BR2_GCC_VERSION_4_8_X
 	default "4.9.3"     if BR2_GCC_VERSION_4_9_X
-- 
2.4.10

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

* [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated
  2016-02-24 18:00 [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Gustavo Zacarias
  2016-02-24 18:00 ` [Buildroot] [PATCH 2/2] gcc: remove 4.5.x Gustavo Zacarias
@ 2016-02-24 19:59 ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2016-02-24 19:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > We're already using 4.9.x as default, and have 4.8.x on the lower side
 > together with 5.x (5.3.0) on the higher side.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed to next, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-24 18:00 ` [Buildroot] [PATCH 2/2] gcc: remove 4.5.x Gustavo Zacarias
@ 2016-02-24 20:02   ` Peter Korsgaard
  2016-02-24 20:26     ` Gustavo Zacarias
  2016-02-25  9:48     ` Thomas Petazzoni
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Korsgaard @ 2016-02-24 20:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > It's been deprecated for some time now.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > ---
 >  Config.in.legacy           |  9 +++++++++
 >  package/gcc/Config.in.host | 26 --------------------------
 >  2 files changed, 9 insertions(+), 26 deletions(-)

 > diff --git a/Config.in.legacy b/Config.in.legacy
 > index 081bacd..7d2e5e7 100644
 > --- a/Config.in.legacy
 > +++ b/Config.in.legacy
 > @@ -143,6 +143,15 @@ comment "----------------------------------------------------"
 >  endif
 
 >  ###############################################################################
 > +comment "Legacy options removed in 2016.05"
 > +
 > +config BR2_GCC_VERSION_4_5_X
 > +	bool "gcc 4.5.x has been removed"
 > +	select BR2_LEGACY
 > +	help
 > +	  The 4.5.x version of gcc has been removed. Use a newer
 > +	  version instead.
 > +
 >  comment "Legacy options removed in 2016.02"
 
 >  config BR2_PACKAGE_DOVECOT_BZIP2
 > diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
 > index c677c65..f86a12e 100644
 > --- a/package/gcc/Config.in.host
 > +++ b/package/gcc/Config.in.host
 > @@ -13,31 +13,6 @@ choice
 >  	help
 >  	  Select the version of gcc you wish to use.
 
 > -	config BR2_GCC_VERSION_4_5_X
 > -		bool "gcc 4.5.x"
 > -		depends on BR2_DEPRECATED_SINCE_2015_05
 > -		# Broken or unsupported architectures
 > -		depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
 > -			&& !BR2_powerpc64le && !BR2_nios2
 > -		# Broken or unsupported ARM cores
 > -		depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
 > -			!BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4

This doesn't apply (seems like you you don't have the commit adding the
A17 ARM variant), and you forgot to remove our gcc patches.

What do we do with our 4.5 based external toolchains and
BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?

Care to send a v2?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-24 20:02   ` Peter Korsgaard
@ 2016-02-24 20:26     ` Gustavo Zacarias
  2016-02-25  9:48     ` Thomas Petazzoni
  1 sibling, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2016-02-24 20:26 UTC (permalink / raw)
  To: buildroot

On 24/02/16 17:02, Peter Korsgaard wrote:

> This doesn't apply (seems like you you don't have the commit adding the
> A17 ARM variant), and you forgot to remove our gcc patches.
>
> What do we do with our 4.5 based external toolchains and
> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?
>
> Care to send a v2?

Sure.
I normally pile up on master since the next branch doesn't last much.
Regards.

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-24 20:02   ` Peter Korsgaard
  2016-02-24 20:26     ` Gustavo Zacarias
@ 2016-02-25  9:48     ` Thomas Petazzoni
  2016-02-25  9:57       ` Peter Korsgaard
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2016-02-25  9:48 UTC (permalink / raw)
  To: buildroot

Dear Peter Korsgaard,

On Wed, 24 Feb 2016 21:02:40 +0100, Peter Korsgaard wrote:

> What do we do with our 4.5 based external toolchains and
> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?

I think the BR2_TOOLCHAIN_GCC_AT_LEAST_* must be kept for pretty much
all versions of gcc. This symbol is not related to whether we support
that gcc version in our internal toolchain backend or not. Possibly any
gcc version can be used with the external toolchain backend.

Best regards,

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

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-25  9:48     ` Thomas Petazzoni
@ 2016-02-25  9:57       ` Peter Korsgaard
  2016-02-25 10:03         ` Thomas Petazzoni
  2016-02-25 10:53         ` Gustavo Zacarias
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Korsgaard @ 2016-02-25  9:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Dear Peter Korsgaard,
 > On Wed, 24 Feb 2016 21:02:40 +0100, Peter Korsgaard wrote:

 >> What do we do with our 4.5 based external toolchains and
 >> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?

 > I think the BR2_TOOLCHAIN_GCC_AT_LEAST_* must be kept for pretty much
 > all versions of gcc. This symbol is not related to whether we support
 > that gcc version in our internal toolchain backend or not. Possibly any
 > gcc version can be used with the external toolchain backend.

True, but we might consider removing preconfigured external toolchains
using ancient versions if there's sensible newer alternatives available.

-- 
Venlig hilsen,
Peter Korsgaard 

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-25  9:57       ` Peter Korsgaard
@ 2016-02-25 10:03         ` Thomas Petazzoni
  2016-02-25 10:53         ` Gustavo Zacarias
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-02-25 10:03 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 25 Feb 2016 10:57:28 +0100, Peter Korsgaard wrote:

>  > Dear Peter Korsgaard,
>  > On Wed, 24 Feb 2016 21:02:40 +0100, Peter Korsgaard wrote:
> 
>  >> What do we do with our 4.5 based external toolchains and
>  >> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?
> 
>  > I think the BR2_TOOLCHAIN_GCC_AT_LEAST_* must be kept for pretty much
>  > all versions of gcc. This symbol is not related to whether we support
>  > that gcc version in our internal toolchain backend or not. Possibly any
>  > gcc version can be used with the external toolchain backend.
> 
> True, but we might consider removing preconfigured external toolchains
> using ancient versions if there's sensible newer alternatives available.

Right. But I like to keep those crappy old preconfigured external
toolchains, because it forces us to test things with old gcc versions,
old kernel headers and all. Some users are probably forced to use old
gcc version for some reason, so I like to keep testing a bit the old
stuff.

You could object that we could continue to do this testing in the
autobuilders by supporting those toolchains as "custom external
toolchains" and not have them as preconfigured toolchains :-)

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

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-25  9:57       ` Peter Korsgaard
  2016-02-25 10:03         ` Thomas Petazzoni
@ 2016-02-25 10:53         ` Gustavo Zacarias
  2016-02-25 12:43           ` Thomas Petazzoni
  1 sibling, 1 reply; 11+ messages in thread
From: Gustavo Zacarias @ 2016-02-25 10:53 UTC (permalink / raw)
  To: buildroot

On 25/02/16 06:57, Peter Korsgaard wrote:

>   >> What do we do with our 4.5 based external toolchains and
>   >> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?
>
>   > I think the BR2_TOOLCHAIN_GCC_AT_LEAST_* must be kept for pretty much
>   > all versions of gcc. This symbol is not related to whether we support
>   > that gcc version in our internal toolchain backend or not. Possibly any
>   > gcc version can be used with the external toolchain backend.
>
> True, but we might consider removing preconfigured external toolchains
> using ancient versions if there's sensible newer alternatives available.

Blackfin is 4.5.x so at least this low we must keep.
Regards.

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-25 10:53         ` Gustavo Zacarias
@ 2016-02-25 12:43           ` Thomas Petazzoni
  2016-02-25 12:48             ` Gustavo Zacarias
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2016-02-25 12:43 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Thu, 25 Feb 2016 07:53:05 -0300, Gustavo Zacarias wrote:
> On 25/02/16 06:57, Peter Korsgaard wrote:
> 
> >   >> What do we do with our 4.5 based external toolchains and
> >   >> BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 (used by directfb)?
> >
> >   > I think the BR2_TOOLCHAIN_GCC_AT_LEAST_* must be kept for pretty much
> >   > all versions of gcc. This symbol is not related to whether we support
> >   > that gcc version in our internal toolchain backend or not. Possibly any
> >   > gcc version can be used with the external toolchain backend.
> >
> > True, but we might consider removing preconfigured external toolchains
> > using ancient versions if there's sensible newer alternatives available.
> 
> Blackfin is 4.5.x so at least this low we must keep.

Blackfin is actually 4.3.

They have an alpha 4.5 compiler, but when we switched to it, many
things broke and the ADI guys told us to stay on 4.3.

Best regards,

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

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

* [Buildroot] [PATCH 2/2] gcc: remove 4.5.x
  2016-02-25 12:43           ` Thomas Petazzoni
@ 2016-02-25 12:48             ` Gustavo Zacarias
  0 siblings, 0 replies; 11+ messages in thread
From: Gustavo Zacarias @ 2016-02-25 12:48 UTC (permalink / raw)
  To: buildroot

On 25/02/16 09:43, Thomas Petazzoni wrote:

> Blackfin is actually 4.3.
>
> They have an alpha 4.5 compiler, but when we switched to it, many
> things broke and the ADI guys told us to stay on 4.3.
>
> Best regards,
>
> Thomas

Ah yes, i took a random peek at the bfin tarballs i have cached.
Anyway, the more reason to keep 4.5 if 4.3 is still used.
Regards.

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

end of thread, other threads:[~2016-02-25 12:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24 18:00 [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Gustavo Zacarias
2016-02-24 18:00 ` [Buildroot] [PATCH 2/2] gcc: remove 4.5.x Gustavo Zacarias
2016-02-24 20:02   ` Peter Korsgaard
2016-02-24 20:26     ` Gustavo Zacarias
2016-02-25  9:48     ` Thomas Petazzoni
2016-02-25  9:57       ` Peter Korsgaard
2016-02-25 10:03         ` Thomas Petazzoni
2016-02-25 10:53         ` Gustavo Zacarias
2016-02-25 12:43           ` Thomas Petazzoni
2016-02-25 12:48             ` Gustavo Zacarias
2016-02-24 19:59 ` [Buildroot] [PATCH 1/2] gcc: mark 4.7.x as deprecated Peter Korsgaard

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.