[Buildroot] [PATCH 2/2] toolchain/Config.in: update gcc bug 99410

Giulio Benetti giulio.benetti at benettiengineering.com
Fri Jul 29 16:43:43 UTC 2022


On 29/07/22 18:24, Giulio Benetti wrote:
> Gcc bug 99410 reappeared while building with gcc 11.x and while testing it
> also shows up with gcc 12.x, so let's enable this bug for all gcc versions
> except gcc 8.x.
> 
> Fixes:
> autobuild.buildroot.net/results/64e/64e54ef5ba3a3dee391b788315615d57a1dd9fa2/

Sorry, I've forgotten http://

-- 
Giulio Benetti
Benetti Engineering sas

> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> ---
>   toolchain/Config.in | 9 +++++----
>   1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index 722bdb2de0..a71a0db83b 100644
> --- a/toolchain/Config.in
> +++ b/toolchain/Config.in
> @@ -186,12 +186,13 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847
>   
>   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410
>   # Error: branch offset out of range on Nios II. This bug
> -# no longer exists in gcc 8.x but reappeared on gcc 9.x and has been
> -# fixed on gcc 11.x.
> +# no longer exists in gcc 8.x but reappeared on gcc 9.x and still exists
> +# on gcc 12.x
>   config BR2_TOOLCHAIN_HAS_GCC_BUG_99410
>   	bool
> -	default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
> -	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
> +	default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
> +		     BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \
> +		     BR2_TOOLCHAIN_GCC_AT_LEAST_12
>   	depends on BR2_nios2
>   
>   # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737




More information about the buildroot mailing list