Skip to content

Commit

Permalink
gcc: Support only the latest branch releases of gcc
Browse files Browse the repository at this point in the history
This change, as per #222, reduces the number of supported releases of
gcc to the latest branch releases.

I noticed while doing this work that gcc-4.5.4 was never added, so I
moved patches for gcc-4.5.3 to 4.5.4 and updated the
bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed
upstream in the 4.5.4 release, so this patch is omitted.

I also bumped the avr sample to 4.9.3 from 4.9.2.

With the addition of gcc-5.x, the gcc release team now releases the
major.minor.0 versions, while updates to the branch are available in
svn/git. We'll address that when we get to issue #219. This change just
removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes
CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later.

This is the first of two part changes, as mentioned in #222.
This change is slated for release in 1.22.0. The next change will be
slated for 1.23.0, and will limit gcc versions to what is on
https://gcc.gnu.org under "Release Series and Status", which is
currently 4.9.3 and 5.2.0, although I will also support the previous
supported version. In this example that would be 4.8.5.

Last, but not least, this change also retires AVR32 support.

Signed-off-by: Bryan Hundven <[email protected]>
  • Loading branch information
bhundven committed Oct 31, 2015
1 parent 55d8497 commit 1a25115
Show file tree
Hide file tree
Showing 569 changed files with 27 additions and 166,118 deletions.
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Recurring tasks:
Non-recurring tasks:

- update newlib (for enhanced bare metal)
- confirm existing implementation on targets other than AVR32
- try to make it generic, will help for uClibc++

- multilib
Expand Down
13 changes: 0 additions & 13 deletions config/arch/avr32.in

This file was deleted.

256 changes: 10 additions & 246 deletions config/cc/gcc.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ choice
config CC_GCC_V_5_2_0
bool
prompt "5.2.0"
select CC_GCC_5_2

config CC_GCC_V_5_1_0
bool
prompt "5.1.0"
select CC_GCC_5_1
select CC_GCC_5

config CC_GCC_V_linaro_4_9
bool
Expand All @@ -58,21 +53,6 @@ config CC_GCC_V_4_9_3
prompt "4.9.3"
select CC_GCC_4_9

config CC_GCC_V_4_9_2
bool
prompt "4.9.2"
select CC_GCC_4_9

config CC_GCC_V_4_9_1
bool
prompt "4.9.1"
select CC_GCC_4_9

config CC_GCC_V_4_9_0
bool
prompt "4.9.0"
select CC_GCC_4_9

config CC_GCC_V_linaro_4_8
bool
prompt "linaro-4.8-2015.06"
Expand All @@ -84,31 +64,6 @@ config CC_GCC_V_4_8_5
prompt "4.8.5"
select CC_GCC_4_8

config CC_GCC_V_4_8_4
bool
prompt "4.8.4"
select CC_GCC_4_8

config CC_GCC_V_4_8_3
bool
prompt "4.8.3"
select CC_GCC_4_8

config CC_GCC_V_4_8_2
bool
prompt "4.8.2"
select CC_GCC_4_8

config CC_GCC_V_4_8_1
bool
prompt "4.8.1"
select CC_GCC_4_8

config CC_GCC_V_4_8_0
bool
prompt "4.8.0"
select CC_GCC_4_8

config CC_GCC_V_linaro_4_7
bool
prompt "linaro-4.7-2014.06"
Expand All @@ -120,26 +75,6 @@ config CC_GCC_V_4_7_4
prompt "4.7.4"
select CC_GCC_4_7

config CC_GCC_V_4_7_3
bool
prompt "4.7.3"
select CC_GCC_4_7

config CC_GCC_V_4_7_2
bool
prompt "4.7.2"
select CC_GCC_4_7

config CC_GCC_V_4_7_1
bool
prompt "4.7.1"
select CC_GCC_4_7

config CC_GCC_V_4_7_0
bool
prompt "4.7.0"
select CC_GCC_4_7

config CC_GCC_V_linaro_4_6
bool
prompt "linaro-4.6-2013.05"
Expand All @@ -151,50 +86,15 @@ config CC_GCC_V_4_6_4
prompt "4.6.4"
select CC_GCC_4_6

config CC_GCC_V_4_6_3
bool
prompt "4.6.3"
select CC_GCC_4_6

config CC_GCC_V_4_6_2
bool
prompt "4.6.2"
select CC_GCC_4_6

config CC_GCC_V_4_6_1
bool
prompt "4.6.1"
select CC_GCC_4_6

config CC_GCC_V_4_6_0
bool
prompt "4.6.0"
select CC_GCC_4_6

config CC_GCC_V_linaro_4_5
bool
prompt "linaro-4.5-2012.03"
depends on CC_GCC_SHOW_LINARO
select CC_GCC_4_5

config CC_GCC_V_4_5_3
bool
prompt "4.5.3"
select CC_GCC_4_5

config CC_GCC_V_4_5_2
config CC_GCC_V_4_5_4
bool
prompt "4.5.2"
select CC_GCC_4_5

config CC_GCC_V_4_5_1
bool
prompt "4.5.1"
select CC_GCC_4_5

config CC_GCC_V_4_5_0
bool
prompt "4.5.0"
prompt "4.5.4"
select CC_GCC_4_5

config CC_GCC_V_linaro_4_4
Expand All @@ -208,98 +108,16 @@ config CC_GCC_V_4_4_7
prompt "4.4.7"
select CC_GCC_4_4

config CC_GCC_V_4_4_6
bool
prompt "4.4.6"
select CC_GCC_4_4

config CC_GCC_V_4_4_5
bool
prompt "4.4.5"
select CC_GCC_4_4

config CC_GCC_V_4_4_4
bool
prompt "4.4.4"
select CC_GCC_4_4

config CC_GCC_V_4_4_3
bool
prompt "4.4.3"
select CC_GCC_4_4

config CC_GCC_V_4_4_2
bool
prompt "4.4.2"
select CC_GCC_4_4

config CC_GCC_V_4_4_1
bool
prompt "4.4.1"
select CC_GCC_4_4

config CC_GCC_V_4_4_0
bool
prompt "4.4.0"
select CC_GCC_4_4

config CC_GCC_V_4_3_6
bool
prompt "4.3.6"
select CC_GCC_4_3

config CC_GCC_V_4_3_5
bool
prompt "4.3.5"
select CC_GCC_4_3

config CC_GCC_V_4_3_4
bool
prompt "4.3.4"
select CC_GCC_4_3

config CC_GCC_V_4_3_3
bool
prompt "4.3.3"
select CC_GCC_4_3

config CC_GCC_V_4_3_2
bool
prompt "4.3.2"
select CC_GCC_4_3

config CC_GCC_V_4_3_1
bool
prompt "4.3.1"
select CC_GCC_4_3

config CC_GCC_V_4_2_4
bool
prompt "4.2.4"
select CC_GCC_4_2

# We need that one, it's the only version with avr32 support
# because we have a patch for it
config CC_GCC_V_4_2_2
bool
prompt "4.2.2"
select CC_GCC_4_2

config CC_GCC_V_4_1_2
bool
prompt "4.1.2 (OBSOLETE)"
depends on OBSOLETE

config CC_GCC_V_4_0_4
bool
prompt "4.0.4 (OBSOLETE)"
depends on OBSOLETE

config CC_GCC_V_3_4_6
bool
prompt "3.4.6 (OBSOLETE)"
depends on OBSOLETE

endchoice

config CC_GCC_CUSTOM
Expand Down Expand Up @@ -431,9 +249,9 @@ config CC_GCC_4_9_or_later
bool
select CC_GCC_4_8_or_later

config CC_GCC_5_2
config CC_GCC_5
bool
select CC_GCC_5_2_or_later
select CC_GCC_5_or_later
select CC_GCC_USE_GMP_MPFR
select CC_GCC_USE_MPC
select CC_GCC_HAS_GRAPHITE
Expand All @@ -445,31 +263,14 @@ config CC_GCC_5_2
select CC_GCC_HAS_LIBSANITIZER
select CC_SUPPORT_GOLANG

config CC_GCC_5_2_or_later
bool
select CC_GCC_5_1_or_later

config CC_GCC_5_1
bool
select CC_GCC_5_1_or_later
select CC_GCC_USE_GMP_MPFR
select CC_GCC_USE_MPC
select CC_GCC_HAS_GRAPHITE
select CC_GCC_HAS_LTO
select CC_GCC_HAS_PKGVERSION_BUGURL
select CC_GCC_HAS_BUILD_ID
select CC_GCC_HAS_LNK_HASH_STYLE
select CC_GCC_HAS_LIBQUADMATH
select CC_GCC_HAS_LIBSANITIZER
select CC_SUPPORT_GOLANG

config CC_GCC_5_1_or_later
config CC_GCC_5_or_later
bool
select CC_GCC_4_9_or_later


config CC_GCC_latest
bool
select CC_GCC_5_1_or_later
select CC_GCC_5_or_later
select CC_GCC_USE_GMP_MPFR
select CC_GCC_USE_MPC
select CC_GCC_HAS_GRAPHITE
Expand All @@ -489,7 +290,7 @@ config CC_GCC_USE_GRAPHITE
bool
default y
depends on CC_GCC_HAS_GRAPHITE
select CLOOG_NEEDED if !CC_GCC_5_1_or_later
select CLOOG_NEEDED if !CC_GCC_5_or_later
select PPL_NEEDED if !CC_GCC_4_8_or_later
select ISL_NEEDED if CC_GCC_4_8_or_later
help
Expand Down Expand Up @@ -567,57 +368,20 @@ config CC_GCC_VERSION
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "5.2.0" if CC_GCC_V_5_2_0
default "5.1.0" if CC_GCC_V_5_1_0
default "linaro-4.9-2015.06" if CC_GCC_V_linaro_4_9
default "4.9.3" if CC_GCC_V_4_9_3
default "4.9.2" if CC_GCC_V_4_9_2
default "4.9.1" if CC_GCC_V_4_9_1
default "4.9.0" if CC_GCC_V_4_9_0
default "linaro-4.8-2015.06" if CC_GCC_V_linaro_4_8
default "4.8.5" if CC_GCC_V_4_8_5
default "4.8.4" if CC_GCC_V_4_8_4
default "4.8.3" if CC_GCC_V_4_8_3
default "4.8.2" if CC_GCC_V_4_8_2
default "4.8.1" if CC_GCC_V_4_8_1
default "4.8.0" if CC_GCC_V_4_8_0
default "linaro-4.7-2014.06" if CC_GCC_V_linaro_4_7
default "4.7.4" if CC_GCC_V_4_7_4
default "4.7.3" if CC_GCC_V_4_7_3
default "4.7.2" if CC_GCC_V_4_7_2
default "4.7.1" if CC_GCC_V_4_7_1
default "4.7.0" if CC_GCC_V_4_7_0
default "linaro-4.6-2013.05" if CC_GCC_V_linaro_4_6
default "4.6.4" if CC_GCC_V_4_6_4
default "4.6.3" if CC_GCC_V_4_6_3
default "4.6.2" if CC_GCC_V_4_6_2
default "4.6.1" if CC_GCC_V_4_6_1
default "4.6.0" if CC_GCC_V_4_6_0
default "linaro-4.5-2012.03" if CC_GCC_V_linaro_4_5
default "4.5.3" if CC_GCC_V_4_5_3
default "4.5.2" if CC_GCC_V_4_5_2
default "4.5.1" if CC_GCC_V_4_5_1
default "4.5.0" if CC_GCC_V_4_5_0
default "4.5.4" if CC_GCC_V_4_5_4
default "linaro-4.4-2011.02-0" if CC_GCC_V_linaro_4_4
default "4.4.7" if CC_GCC_V_4_4_7
default "4.4.6" if CC_GCC_V_4_4_6
default "4.4.5" if CC_GCC_V_4_4_5
default "4.4.4" if CC_GCC_V_4_4_4
default "4.4.3" if CC_GCC_V_4_4_3
default "4.4.2" if CC_GCC_V_4_4_2
default "4.4.1" if CC_GCC_V_4_4_1
default "4.4.0" if CC_GCC_V_4_4_0
default "4.3.6" if CC_GCC_V_4_3_6
default "4.3.5" if CC_GCC_V_4_3_5
default "4.3.4" if CC_GCC_V_4_3_4
default "4.3.3" if CC_GCC_V_4_3_3
default "4.3.2" if CC_GCC_V_4_3_2
default "4.3.1" if CC_GCC_V_4_3_1
default "4.3.0" if CC_GCC_V_4_3_0
default "4.2.4" if CC_GCC_V_4_2_4
default "4.2.2" if CC_GCC_V_4_2_2
default "4.1.2" if CC_GCC_V_4_1_2
default "4.0.4" if CC_GCC_V_4_0_4
default "3.4.6" if CC_GCC_V_3_4_6

config CC_LANG_JAVA_USE_ECJ
bool
Expand Down
Loading

0 comments on commit 1a25115

Please sign in to comment.