toolchain: Update to GCC 8.3.0
Update GCC to 8.3.0 Refresh patches Allow GCC to be used for ARC Source: https://github.com/openwrt/openwrt/pull/1803#issuecomment-462334890 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
		 Daniel Engberg
					Daniel Engberg
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							700c0edc06
						
					
				
				
					commit
					40aec89b4c
				
			| @@ -22,7 +22,6 @@ choice | |||||||
|  |  | ||||||
| 	config GCC_USE_VERSION_8 | 	config GCC_USE_VERSION_8 | ||||||
| 		bool "gcc 8.x" | 		bool "gcc 8.x" | ||||||
| 		depends on !arc |  | ||||||
| endchoice | endchoice | ||||||
|  |  | ||||||
| config GCC_USE_GRAPHITE | config GCC_USE_GRAPHITE | ||||||
|   | |||||||
| @@ -19,5 +19,5 @@ config GCC_VERSION | |||||||
| 	string | 	string | ||||||
| 	default "5.5.0"		if GCC_VERSION_5 | 	default "5.5.0"		if GCC_VERSION_5 | ||||||
| 	default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC | 	default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC | ||||||
| 	default "8.2.0"		if GCC_VERSION_8 | 	default "8.3.0"		if GCC_VERSION_8 | ||||||
| 	default "7.4.0" | 	default "7.4.0" | ||||||
|   | |||||||
| @@ -36,8 +36,8 @@ ifeq ($(PKG_VERSION),7.4.0) | |||||||
|   PKG_HASH:=eddde28d04f334aec1604456e536416549e9b1aa137fc69204e65eb0c009fe51 |   PKG_HASH:=eddde28d04f334aec1604456e536416549e9b1aa137fc69204e65eb0c009fe51 | ||||||
| endif | endif | ||||||
|  |  | ||||||
| ifeq ($(PKG_VERSION),8.2.0) | ifeq ($(PKG_VERSION),8.3.0) | ||||||
|   PKG_HASH:=196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080 |   PKG_HASH:=64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c | ||||||
| endif | endif | ||||||
|  |  | ||||||
| ifneq ($(CONFIG_GCC_VERSION_7_1_ARC),) | ifneq ($(CONFIG_GCC_VERSION_7_1_ARC),) | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| --- a/gcc/config/rs6000/rs6000.c
 | --- a/gcc/config/rs6000/rs6000.c
 | ||||||
| +++ b/gcc/config/rs6000/rs6000.c
 | +++ b/gcc/config/rs6000/rs6000.c
 | ||||||
| @@ -24501,7 +24501,7 @@ rs6000_savres_strategy (rs6000_stack_t *
 | @@ -24632,7 +24632,7 @@ rs6000_savres_strategy (rs6000_stack_t *
 | ||||||
|    /* Define cutoff for using out-of-line functions to save registers.  */ |    /* Define cutoff for using out-of-line functions to save registers.  */ | ||||||
|    if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) |    if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) | ||||||
|      { |      { | ||||||
| @@ -114,7 +114,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000 | |||||||
|  ; On SVR4 targets, it also controls whether or not to emit a |  ; On SVR4 targets, it also controls whether or not to emit a | ||||||
| --- a/gcc/opts.c
 | --- a/gcc/opts.c
 | ||||||
| +++ b/gcc/opts.c
 | +++ b/gcc/opts.c
 | ||||||
| @@ -2056,6 +2056,9 @@ common_handle_option (struct gcc_options
 | @@ -2065,6 +2065,9 @@ common_handle_option (struct gcc_options
 | ||||||
|  			       opts, opts_set, loc, dc); |  			       opts, opts_set, loc, dc); | ||||||
|        break; |        break; | ||||||
|   |   | ||||||
| @@ -126,7 +126,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000 | |||||||
|        opts->x_warn_larger_than = value != -1; |        opts->x_warn_larger_than = value != -1; | ||||||
| --- a/gcc/doc/invoke.texi
 | --- a/gcc/doc/invoke.texi
 | ||||||
| +++ b/gcc/doc/invoke.texi
 | +++ b/gcc/doc/invoke.texi
 | ||||||
| @@ -7012,6 +7012,17 @@ This option is only supported for C and
 | @@ -7014,6 +7014,17 @@ This option is only supported for C and
 | ||||||
|  @option{-Wall} and by @option{-Wpedantic}, which can be disabled with |  @option{-Wall} and by @option{-Wpedantic}, which can be disabled with | ||||||
|  @option{-Wno-pointer-sign}. |  @option{-Wno-pointer-sign}. | ||||||
|   |   | ||||||
		Reference in New Issue
	
	Block a user