From: kernel test robot <lkp@intel.com>
To: Ian Rogers <irogers@google.com>, Arnd Bergmann <arnd@arndb.de>,
Andrii Nakryiko <andrii@kernel.org>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Martin KaFai Lau <martin.lau@linux.dev>,
Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
John Fastabend <john.fastabend@gmail.com>,
KP Singh <kpsingh@kernel.org>,
Stanislav Fomichev <sdf@google.com>, Hao Luo <haoluo@google.com>,
Jiri Olsa <jolsa@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Namhyung Kim <namhyung@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Kees Cook <keescook@chromium.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [PATCH v1 12/13] tools headers: Sync compiler.h headers
Date: Mon, 11 Mar 2024 03:00:32 +0800 [thread overview]
Message-ID: <202403110212.7cBcgqJ5-lkp@intel.com> (raw)
In-Reply-To: <20240310020509.647319-13-irogers@google.com>
Hi Ian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on perf-tools-next/perf-tools-next]
[also build test WARNING on perf-tools/perf-tools tip/perf/core]
[cannot apply to linus/master acme/perf/core v6.8-rc7 next-20240308]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/tools-bpf-Synchronize-bpf-h-with-kernel-uapi-version/20240310-101251
base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/r/20240310020509.647319-13-irogers%40google.com
patch subject: [PATCH v1 12/13] tools headers: Sync compiler.h headers
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240311/202403110212.7cBcgqJ5-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240311/202403110212.7cBcgqJ5-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403110212.7cBcgqJ5-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from exec-cmd.c:2:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from parse-options.c:2:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from run-command.c:7:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from help.c:5:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from sigchain.c:3:
In file included from ./subcmd-util.h:8:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
In file included from weak.c:10:
In file included from tools/objtool/include/objtool/objtool.h:10:
In file included from tools/include/linux/list.h:7:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from builtin-check.c:6:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from special.c:15:
In file included from tools/objtool/include/objtool/builtin.h:8:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from arch/x86/special.c:4:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:10:
In file included from tools/objtool/include/objtool/cfi.h:10:
In file included from tools/include/linux/list.h:7:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from check.c:11:
In file included from tools/objtool/include/objtool/builtin.h:8:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from orc_dump.c:7:
In file included from tools/arch/x86/include/asm/orc_types.h:10:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from ../lib/ctype.c:8:
In file included from tools/include/linux/ctype.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from objtool.c:13:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from orc_gen.c:10:
In file included from tools/arch/x86/include/asm/orc_types.h:10:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from special.c:16:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]In file included from elf.c:19:
In file included from tools/include/linux/interval_tree_generic.h:10:
In file included from tools/include/linux/rbtree_augmented.h:18:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
--
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__In file included from ../lib/rbtree.c:12:
In file included from tools/include/linux/rbtree_augmented.h:18:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
((__weak__))
| ^
1 warning generated.
In file included from weak.c:10:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from arch/x86/special.c:4:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from 2 warnings generated.
../lib/string.c:19:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from orc_gen.c:12:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from objtool.c:16:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from builtin-check.c:10:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from check.c:13:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
2 warnings generated.
In file included from orc_dump.c:8:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
2 warnings generated.
2 warnings generated.
In file included from arch/x86/decode.c:12:
In file included from arch/x86/../../../arch/x86/lib/insn.c:8:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
2 warnings generated.
2 warnings generated.
In file included from ../lib/str_error_r.c:5:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
1 warning generated.
1 warning generated.
In file included from arch/x86/decode.c:18:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
2 warnings generated.
1 warning generated.
2 warnings generated.
1 warning generated.
2 warnings generated.
--
In file included from exec-cmd.c:2:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from parse-options.c:2:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from help.c:5:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from sigchain.c:3:
In file included from ./subcmd-util.h:8:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from run-command.c:7:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
In file included from weak.c:10:
In file included from tools/objtool/include/objtool/objtool.h:10:
In file included from tools/include/linux/list.h:7:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from builtin-check.c:6:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from elf.c:19:
In file included from tools/include/linux/interval_tree_generic.h:10:
In file included from tools/include/linux/rbtree_augmented.h:18:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from orc_gen.c:10:
In file included from tools/arch/x86/include/asm/orc_types.h:10:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from arch/x86/special.c:4:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:10:
In file included from tools/objtool/include/objtool/cfi.h:10:
In file included from tools/include/linux/list.h:7:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from ../lib/string.c:19:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from special.c:15:
In file included from tools/objtool/include/objtool/builtin.h:8:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
In file included from orc_dump.c:7:
In file included from tools/arch/x86/include/asm/orc_types.h:10:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from weak.c:10:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __aIn file included from ttribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
../lib/ctype.c:8:
In file included from tools/include/linux/ctype.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from objtool.c:13:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from check.c:11:
In file included from tools/objtool/include/objtool/builtin.h:8:
In file included from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from ../lib/rbtree.c:12:
In file included from tools/include/linux/rbtree_augmented.h:18:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
1 warning generated.
2 warnings generated.
In file included from orc_gen.c:12:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
>> tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from arch/x86/decode.c:12:
In file included from arch/x86/../../../arch/x86/lib/insn.c:8:
In file included from tools/include/linux/kernel.h:8:
In file included from tools/include/linux/build_bug.h:5:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
>> tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
In file included from builtin-check.c:10:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from arch/x86/special.c:4:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
1 warning generated.
In file included from orc_dump.c:8:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
2 warnings generated.
In file included from In file included from check.c:13:
In file included from tools/objtool/include/objtool/arch.h:11:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from arch/x86/decode.c:18:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attributespecial.c__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
:16:
In file included from tools/objtool/include/objtool/special.h:10:
In file included from tools/objtool/include/objtool/check.h:11:
In file included from tools/objtool/include/objtool/arch.h:11:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
In file included from objtool.c:16:
tools/objtool/include/objtool/objtool.h:15:9: warning: '__weak' macro redefined [-Wmacro-redefined]
15 | #define __weak __attribute__((weak))
| ^
tools/include/linux/compiler_attributes.h:437:10: note: previous definition is here
437 | # define __weak __attribute__((__weak__))
| ^
2 warnings generated.
2 warnings generated.
In file included from ../lib/str_error_r.c:5:
In file included from tools/include/linux/string.h:6:
In file included from tools/include/linux/compiler.h:5:
In file included from tools/include/linux/compiler_types.h:78:
tools/include/linux/compiler-clang.h:117:5: warning: 'CONFIG_CLANG_VERSION' is not defined, evaluates to 0 [-Wundef]
117 | #if CONFIG_CLANG_VERSION >= 110000
| ^
2 warnings generated.
1 warning generated.
2 warnings generated.
2 warnings generated.
1 warning generated.
2 warnings generated.
1 warning generated.
2 warnings generated.
vim +/CONFIG_CLANG_VERSION +117 tools/include/linux/compiler-clang.h
116
> 117 #if CONFIG_CLANG_VERSION >= 110000
118 #define __diag_clang_11(s) __diag(s)
119 #else
120 #define __diag_clang_11(s)
121 #endif
122
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-03-10 19:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-10 2:04 [PATCH v1 00/13] tools header compiler.h update Ian Rogers
2024-03-10 2:04 ` [PATCH v1 01/13] tools bpf: Synchronize bpf.h with kernel uapi version Ian Rogers
2024-03-10 2:04 ` [PATCH v1 02/13] libbpf: Make __printf define conditional Ian Rogers
2024-03-11 17:49 ` Andrii Nakryiko
2024-03-11 18:54 ` Ian Rogers
2024-03-11 20:51 ` Andrii Nakryiko
2024-03-10 2:04 ` [PATCH v1 03/13] libperf xyarray: Use correct stddef.h include Ian Rogers
2024-03-10 2:04 ` [PATCH v1 04/13] perf expr: Add missing stdbool.h include Ian Rogers
2024-03-10 2:05 ` [PATCH v1 05/13] perf expr: Tidy up header guard Ian Rogers
2024-03-10 2:05 ` [PATCH v1 06/13] perf debug: Add missing linux/types.h include Ian Rogers
2024-03-10 2:05 ` [PATCH v1 07/13] perf cacheline: " Ian Rogers
2024-03-10 2:05 ` [PATCH v1 08/13] perf arm-spe: " Ian Rogers
2024-03-10 2:05 ` [PATCH v1 09/13] tools headers: Rewrite linux/atomic.h using C11's stdatomic.h Ian Rogers
2024-03-10 2:05 ` [PATCH v1 10/13] asm-generic: Avoid transitive dependency for unaligned.h Ian Rogers
2024-03-10 2:05 ` [PATCH v1 11/13] tools headers: Sync linux/overflow.h Ian Rogers
2024-03-10 2:05 ` [PATCH v1 12/13] tools headers: Sync compiler.h headers Ian Rogers
2024-03-10 11:45 ` Miguel Ojeda
2024-03-10 19:00 ` kernel test robot [this message]
2024-03-11 16:34 ` James Clark
2024-03-11 19:24 ` Ian Rogers
2024-03-11 19:58 ` Arnaldo Carvalho de Melo
2024-03-10 2:05 ` [PATCH v1 13/13] tools headers: Rename noinline to __noinline Ian Rogers
2024-03-10 11:24 ` Miguel Ojeda
2024-03-11 15:33 ` Nick Desaulniers
2024-03-11 15:43 ` Michael S. Tsirkin
2024-03-11 16:21 ` Nick Desaulniers
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=202403110212.7cBcgqJ5-lkp@intel.com \
--to=lkp@intel.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=akpm@linux-foundation.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=andrii@kernel.org \
--cc=arnd@arndb.de \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=gustavoars@kernel.org \
--cc=haoluo@google.com \
--cc=irogers@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=justinstitt@google.com \
--cc=keescook@chromium.org \
--cc=kpsingh@kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@arm.com \
--cc=martin.lau@linux.dev \
--cc=mingo@redhat.com \
--cc=morbo@google.com \
--cc=namhyung@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=sdf@google.com \
--cc=skhan@linuxfoundation.org \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).