Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition
@ 2022-07-29 20:44 Giulio Benetti
  2022-07-29 20:44 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition Giulio Benetti
  2022-07-30 16:01 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Giulio Benetti @ 2022-07-29 20:44 UTC (permalink / raw)
  To: buildroot
  Cc: Romain Naour, Giulio Benetti, Thomas De Schampheleire,
	Thomas Petazzoni

This makes the condition easier to read and it's easier to maintain the
gcc bug too because we don't have to take care about new gcc versions.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 toolchain/Config.in | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 3cc747c1cc..d2fc347d36 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -113,12 +113,9 @@ config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
 # reappeared on gcc 9.x and is still not fixed on gcc 11.x
 config BR2_TOOLCHAIN_HAS_GCC_BUG_43744
 	bool
-	default y if BR2_sh4
-	depends on !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
+	default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
+	depends on BR2_sh4
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no
 # longer exists in gcc 8.x.
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition
  2022-07-29 20:44 [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Giulio Benetti
@ 2022-07-29 20:44 ` Giulio Benetti
  2022-07-30 16:01 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2022-07-29 20:44 UTC (permalink / raw)
  To: buildroot
  Cc: Romain Naour, Giulio Benetti, Thomas De Schampheleire,
	Thomas Petazzoni

This makes the condition easier to read and it's easier to maintain the
gcc bug too because we don't have to take care about new gcc versions.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 toolchain/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index d2fc347d36..507075a351 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -147,9 +147,9 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
 # it still not been fixed yet.
 config BR2_TOOLCHAIN_HAS_GCC_BUG_83143
 	bool
-	default y if BR2_sh
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 || \
-		   BR2_TOOLCHAIN_GCC_AT_LEAST_12
+	default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_10
+	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_11
+	depends on BR2_sh
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
 # longer exists in gcc 8.x.
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition
  2022-07-29 20:44 [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Giulio Benetti
  2022-07-29 20:44 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition Giulio Benetti
@ 2022-07-30 16:01 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-07-30 16:01 UTC (permalink / raw)
  To: Giulio Benetti
  Cc: Romain Naour, Thomas Petazzoni, Thomas De Schampheleire,
	buildroot

Giulio, All,

On 2022-07-29 22:44 +0200, Giulio Benetti spake thusly:
> This makes the condition easier to read and it's easier to maintain the
> gcc bug too because we don't have to take care about new gcc versions.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Series of two patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  toolchain/Config.in | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index 3cc747c1cc..d2fc347d36 100644
> --- a/toolchain/Config.in
> +++ b/toolchain/Config.in
> @@ -113,12 +113,9 @@ config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
>  # reappeared on gcc 9.x and is still not fixed on gcc 11.x
>  config BR2_TOOLCHAIN_HAS_GCC_BUG_43744
>  	bool
> -	default y if BR2_sh4
> -	depends on !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
> +	default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
> +	default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
> +	depends on BR2_sh4
>  
>  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no
>  # longer exists in gcc 8.x.
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-07-30 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-29 20:44 [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Giulio Benetti
2022-07-29 20:44 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 83143 condition Giulio Benetti
2022-07-30 16:01 ` [Buildroot] [PATCH] toolchain/Config.in: improve gcc bug 43744 condition Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox