From: Marco Elver <elver@google.com> To: kernel test robot <lkp@intel.com> Cc: kbuild-all@lists.01.org, clang-built-linux <clang-built-linux@googlegroups.com>, LKML <linux-kernel@vger.kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Miguel Ojeda <ojeda@kernel.org>, Kees Cook <keescook@chromium.org>, Andrew Morton <akpm@linux-foundation.org>, Will Deacon <will@kernel.org>, Ard Biesheuvel <ardb@kernel.org>, Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Subject: Re: [PATCH] kcov: add __no_sanitize_coverage to fix noinstr for all architectures Date: Wed, 26 May 2021 00:29:58 +0200 [thread overview] Message-ID: <CANpmjNMT=HQQpK9U4bnoGb-=+KJC246dSZ3u2VB0TXw4itsB-w@mail.gmail.com> (raw) In-Reply-To: <202105260629.X6n5yc4D-lkp@intel.com> On Wed, 26 May 2021 at 00:23, kernel test robot <lkp@intel.com> wrote: [...] > [auto build test WARNING on linux/master] > [also build test WARNING on kees/for-next/pstore linus/master v5.13-rc3 next-20210525] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures/20210526-020046 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git dd860052c99b1e088352bdd4fb7aef46f8d2ef47 > config: s390-randconfig-r002-20210525 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1) ^^^ you're using a Clang pre-release, breakages are expected until Clang 13 is final. I think there was a thread about this at some point. I guess LKP has decided that testing Clang pre-releases is fair game? I guess it's useful, but this warning here needs to be ignored. It'll go away when you rebuild your pre-release Clang 13 from the latest LLVM main branch. [...] > >> arch/s390/kernel/nmi.c:182:6: warning: unknown sanitizer 'coverage' ignored [-Wunknown-sanitizers] > void noinstr s390_handle_mcck(void) > ^ > include/linux/compiler_types.h:213:35: note: expanded from macro 'noinstr' > __no_kcsan __no_sanitize_address __no_sanitize_coverage > ^ > include/linux/compiler-clang.h:49:59: note: expanded from macro '__no_sanitize_coverage' > #define __no_sanitize_coverage __attribute__((no_sanitize("coverage"))) > ^ Clang 13 will support the attribute, but this is a pre-release Clang 13 -- so please ignore the report. FWIW, I tested my patch of course with a version of Clang 13 that supports the attribute. :-) Thanks, -- Marco
WARNING: multiple messages have this Message-ID (diff)
From: Marco Elver <elver@google.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH] kcov: add __no_sanitize_coverage to fix noinstr for all architectures Date: Wed, 26 May 2021 00:29:58 +0200 [thread overview] Message-ID: <CANpmjNMT=HQQpK9U4bnoGb-=+KJC246dSZ3u2VB0TXw4itsB-w@mail.gmail.com> (raw) In-Reply-To: <202105260629.X6n5yc4D-lkp@intel.com> [-- Attachment #1: Type: text/plain, Size: 2062 bytes --] On Wed, 26 May 2021 at 00:23, kernel test robot <lkp@intel.com> wrote: [...] > [auto build test WARNING on linux/master] > [also build test WARNING on kees/for-next/pstore linus/master v5.13-rc3 next-20210525] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures/20210526-020046 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git dd860052c99b1e088352bdd4fb7aef46f8d2ef47 > config: s390-randconfig-r002-20210525 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1) ^^^ you're using a Clang pre-release, breakages are expected until Clang 13 is final. I think there was a thread about this at some point. I guess LKP has decided that testing Clang pre-releases is fair game? I guess it's useful, but this warning here needs to be ignored. It'll go away when you rebuild your pre-release Clang 13 from the latest LLVM main branch. [...] > >> arch/s390/kernel/nmi.c:182:6: warning: unknown sanitizer 'coverage' ignored [-Wunknown-sanitizers] > void noinstr s390_handle_mcck(void) > ^ > include/linux/compiler_types.h:213:35: note: expanded from macro 'noinstr' > __no_kcsan __no_sanitize_address __no_sanitize_coverage > ^ > include/linux/compiler-clang.h:49:59: note: expanded from macro '__no_sanitize_coverage' > #define __no_sanitize_coverage __attribute__((no_sanitize("coverage"))) > ^ Clang 13 will support the attribute, but this is a pre-release Clang 13 -- so please ignore the report. FWIW, I tested my patch of course with a version of Clang 13 that supports the attribute. :-) Thanks, -- Marco
next prev parent reply other threads:[~2021-05-25 22:30 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-25 17:58 [PATCH] kcov: add __no_sanitize_coverage to fix noinstr for all architectures Marco Elver 2021-05-25 18:25 ` Miguel Ojeda 2021-05-25 19:12 ` Marco Elver 2021-05-26 1:53 ` Miguel Ojeda 2021-05-26 6:25 ` Marco Elver 2021-05-26 12:38 ` Marco Elver 2021-05-26 18:12 ` Miguel Ojeda 2021-05-25 22:22 ` kernel test robot 2021-05-25 22:22 ` kernel test robot 2021-05-25 22:29 ` Marco Elver [this message] 2021-05-25 22:29 ` Marco Elver 2021-05-26 8:11 ` [kbuild-all] " Rong Chen 2021-05-26 8:11 ` Rong Chen 2021-05-25 23:21 ` kernel test robot 2021-05-25 23:21 ` kernel test robot 2021-05-26 8:19 ` Peter Zijlstra
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CANpmjNMT=HQQpK9U4bnoGb-=+KJC246dSZ3u2VB0TXw4itsB-w@mail.gmail.com' \ --to=elver@google.com \ --cc=akpm@linux-foundation.org \ --cc=ardb@kernel.org \ --cc=clang-built-linux@googlegroups.com \ --cc=kbuild-all@lists.01.org \ --cc=keescook@chromium.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lkp@intel.com \ --cc=luc.vanoostenryck@gmail.com \ --cc=nathan@kernel.org \ --cc=ndesaulniers@google.com \ --cc=ojeda@kernel.org \ --cc=will@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.