Skip to contentSkip to conversation

gcc: mark 4.7.x as deprecated

PATCH New Gustavo Zacarias 3 participants 11 messages Feb 24, 2016 – Feb 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gcc: mark 4.7.x as deprecated

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.

---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gcc/Config.in.host +1 -0
index cad6896..c677c65 100644
@@ -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
Signature · 1 line
2.4.10
#1 lore raw

PATCH 2/2 gcc: remove 4.5.x

It's been deprecated for some time now.

---
 Config.in.legacy           |  9 +++++++++
 package/gcc/Config.in.host | 26 --------------------------
 2 files changed, 9 insertions(+), 26 deletions(-)
Config.in.legacy +9 -0
index 081bacd..7d2e5e7 100644
@@ -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
package/gcc/Config.in.host +0 -26
index c677c65..f86a12e 100644
@@ -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
Signature · 1 line
2.4.10
#2 lore raw

PATCH 2/2 gcc: remove 4.5.x

Quoted 36 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

It's been deprecated for some time now.

---
 Config.in.legacy           |  9 +++++++++
 package/gcc/Config.in.host | 26 --------------------------
 2 files changed, 9 insertions(+), 26 deletions(-)
Config.in.legacy +9 -0
index 081bacd..7d2e5e7 100644
@@ -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
package/gcc/Config.in.host +0 -0
index c677c65..f86a12e 100644
@@ -13,31 +13,6 @@ choice
 	help
 	  Select the version of gcc you wish to use.

package/gcc/Config.in.host choice · line 24

Quoted 10 lines
package/gcc/Config.in.host +0 -9
 
-	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?

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

PATCH 2/2 gcc: remove 4.5.x

Quoted 7 lines · Peter Korsgaard

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.

#4 lore raw

PATCH 2/2 gcc: remove 4.5.x

In reply to Peter Korsgaard

Dear Peter Korsgaard,

Quoted 2 lines · Peter Korsgaard

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

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

PATCH 2/2 gcc: remove 4.5.x

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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

Quoted 7 lines
Quoted 2 lines

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.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#6 lore raw

PATCH 2/2 gcc: remove 4.5.x

Hello,

Quoted 6 lines · Peter Korsgaard
Quoted 5 lines

Dear Peter Korsgaard,

Quoted 2 lines · Peter Korsgaard

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

Quoted 7 lines
Quoted 4 lines

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

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

PATCH 2/2 gcc: remove 4.5.x

In reply to Peter Korsgaard
Quoted 10 lines · Peter Korsgaard
Quoted 7 lines
Quoted 2 lines

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.

#8 lore raw

PATCH 2/2 gcc: remove 4.5.x

Dear Gustavo Zacarias,

Quoted 10 lines · Gustavo Zacarias
Quoted 8 lines · Peter Korsgaard
Quoted 7 lines
Quoted 2 lines

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.

Quoted 4 lines
Quoted 2 lines

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

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

PATCH 2/2 gcc: remove 4.5.x

Quoted 8 lines · Thomas Petazzoni

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.