Re: [PATCH] gcc-plugins: make GCC_PLUGIN_INITIFY_VERBOSE depend on !COMPILE_TEST

From: Kees Cook
Date: Wed Feb 01 2017 - 11:27:51 EST


On Wed, Feb 1, 2017 at 8:07 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> Just like GCC_PLUGIN_STRUCTLEAK_VERBOSE, we should make this one depend on !COMPILE_TEST,
> otherwise we get lots of unnecessary output for randconfig and possibly allmodconfig
> builds.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks! And sorry, I thought I already had that. :P I'll add this to my tree.

-Kees

> ---
> arch/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 48f395ed5207..b5eafefbe2bd 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -453,6 +453,7 @@ config GCC_PLUGIN_INITIFY
> config GCC_PLUGIN_INITIFY_VERBOSE
> bool "Report initification"
> depends on GCC_PLUGIN_INITIFY
> + depends on !COMPILE_TEST
> help
> Print all initified strings and all functions which should be
> __init/__exit.
> --
> 2.9.0
>



--
Kees Cook
Pixel Security