Re: [PATCH] kbuild: gcov: enable -fno-tree-loop-im if supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Masahiro and Michal,

The reporter has asked for their email address to be updated to:

psodagud@xxxxxxxxxxxxxx

if you're ok with this version of the patch and choose to apply it, can you
please update the commit message. Otherwise, I'll make this change should
we need other changes necessitating a v2.
On Thu, Apr 26, 2018 at 2:29 PM Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
wrote:

> Clang does not recognize this compiler option.

> Reported-by: Prasad Sodagudi <psodagud@xxxxxxxxxxx>
> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> ---
>   Makefile | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

> diff --git a/Makefile b/Makefile
> index 83b6c541565a..7f653c924c18 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -623,7 +623,9 @@ all: vmlinux

>   KBUILD_CFLAGS  += $(call cc-option,-fno-PIE)
>   KBUILD_AFLAGS  += $(call cc-option,-fno-PIE)
> -CFLAGS_GCOV    := -fprofile-arcs -ftest-coverage -fno-tree-loop-im
$(call cc-disable-warning,maybe-uninitialized,)
> +CFLAGS_GCOV    := -fprofile-arcs -ftest-coverage \
> +       $(call cc-option,-fno-tree-loop-im) \
> +       $(call cc-disable-warning,maybe-uninitialized,)
>   export CFLAGS_GCOV CFLAGS_KCOV

>   # The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
> --
> 2.17.0.441.gb46fe60e1d-goog



--
Thanks,
~Nick Desaulniers
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux