linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: unwind: remove old check for GCC <= 4.2
@ 2020-11-11  2:51 Nick Desaulniers
  2020-11-12 18:01 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Desaulniers @ 2020-11-11  2:51 UTC (permalink / raw)
  To: Russell King
  Cc: clang-built-linux, Nick Desaulniers, Dmitry Safonov,
	Andrew Morton, Florian Fainelli, Linus Walleij, linux-arm-kernel,
	linux-kernel

Since
commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement")
the minimum supported version of GCC is gcc-4.9. It's now safe to remove
this code.

Link: https://github.com/ClangBuiltLinux/linux/issues/427
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
---
 arch/arm/kernel/unwind.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
index f35eb584a18a..59fdf257bf8b 100644
--- a/arch/arm/kernel/unwind.c
+++ b/arch/arm/kernel/unwind.c
@@ -18,9 +18,6 @@
 #warning Your compiler does not have EABI support.
 #warning    ARM unwind is known to compile only with EABI compilers.
 #warning    Change compiler or disable ARM_UNWIND option.
-#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2) && !defined(__clang__)
-#warning Your compiler is too buggy; it is known to not compile ARM unwind support.
-#warning    Change compiler or disable ARM_UNWIND option.
 #endif
 #endif /* __CHECKER__ */
 
-- 
2.29.2.222.g5d2a92d10f8-goog


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

* Re: [PATCH] ARM: unwind: remove old check for GCC <= 4.2
  2020-11-11  2:51 [PATCH] ARM: unwind: remove old check for GCC <= 4.2 Nick Desaulniers
@ 2020-11-12 18:01 ` Nathan Chancellor
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2020-11-12 18:01 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: Russell King, clang-built-linux, Dmitry Safonov, Andrew Morton,
	Florian Fainelli, Linus Walleij, linux-arm-kernel, linux-kernel

On Tue, Nov 10, 2020 at 06:51:20PM -0800, 'Nick Desaulniers' via Clang Built Linux wrote:
> Since
> commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement")
> the minimum supported version of GCC is gcc-4.9. It's now safe to remove
> this code.
> 
> Link: https://github.com/ClangBuiltLinux/linux/issues/427
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>

Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>

> ---
>  arch/arm/kernel/unwind.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
> index f35eb584a18a..59fdf257bf8b 100644
> --- a/arch/arm/kernel/unwind.c
> +++ b/arch/arm/kernel/unwind.c
> @@ -18,9 +18,6 @@
>  #warning Your compiler does not have EABI support.
>  #warning    ARM unwind is known to compile only with EABI compilers.
>  #warning    Change compiler or disable ARM_UNWIND option.
> -#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2) && !defined(__clang__)
> -#warning Your compiler is too buggy; it is known to not compile ARM unwind support.
> -#warning    Change compiler or disable ARM_UNWIND option.
>  #endif
>  #endif /* __CHECKER__ */
>  
> -- 
> 2.29.2.222.g5d2a92d10f8-goog
> 

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

end of thread, other threads:[~2020-11-12 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  2:51 [PATCH] ARM: unwind: remove old check for GCC <= 4.2 Nick Desaulniers
2020-11-12 18:01 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).