* Re: [PATCH v1 12/13] tools headers: Sync compiler.h headers
[not found] <20240310020509.647319-13-irogers@google.com>
@ 2024-03-10 19:00 ` kernel test robot
2024-03-11 1:17 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-03-10 19:00 UTC (permalink / raw)
To: Ian Rogers, Arnd Bergmann, Andrii Nakryiko, Alexei Starovoitov,
Daniel Borkmann, Martin KaFai Lau, Song Liu, Yonghong Song,
John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Namhyung Kim, Mark Rutland, Alexander Shishkin, Adrian Hunter,
Paolo Bonzini, Shuah Khan, Kees Cook, Gustavo A. R. Silva,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
Andrew Morton
Cc: llvm, oe-kbuild-all, Linux Memory Management List
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v1 12/13] tools headers: Sync compiler.h headers
[not found] <20240310020509.647319-13-irogers@google.com>
2024-03-10 19:00 ` [PATCH v1 12/13] tools headers: Sync compiler.h headers kernel test robot
@ 2024-03-11 1:17 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-03-11 1:17 UTC (permalink / raw)
To: Ian Rogers, Arnd Bergmann, Andrii Nakryiko, Alexei Starovoitov,
Daniel Borkmann, Martin KaFai Lau, Song Liu, Yonghong Song,
John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Namhyung Kim, Mark Rutland, Alexander Shishkin, Adrian Hunter,
Paolo Bonzini, Shuah Khan, Kees Cook, Gustavo A. R. Silva,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
Andrew Morton
Cc: oe-kbuild-all, Linux Memory Management List
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 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-defconfig (https://download.01.org/0day-ci/archive/20240311/202403110904.yrRIQbOJ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240311/202403110904.yrRIQbOJ-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/202403110904.yrRIQbOJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from tools/objtool/include/objtool/special.h:10,
from special.c:16:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from tools/objtool/include/objtool/builtin.h:8,
from special.c:15:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from weak.c:10:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/include/linux/list.h:7,
from tools/objtool/include/objtool/objtool.h:10,
from weak.c:10:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/include/linux/list.h:7,
from tools/objtool/include/objtool/cfi.h:10,
from tools/objtool/include/objtool/check.h:10,
from tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from check.c:13:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from tools/objtool/include/objtool/builtin.h:8,
from check.c:11:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from builtin-check.c:10:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from builtin-check.c:6:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from orc_gen.c:12:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/arch/x86/include/asm/orc_types.h:10,
from orc_gen.c:10:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from orc_dump.c:8:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/arch/x86/include/asm/orc_types.h:10,
from orc_dump.c:7:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from objtool.c:16:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from objtool.c:13:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from arch/x86/decode.c:18:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from arch/x86/../../../arch/x86/lib/insn.c:8,
from arch/x86/decode.c:12:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
--
In file included from weak.c:10:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/include/linux/list.h:7,
from tools/objtool/include/objtool/objtool.h:10,
from weak.c:10:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from tools/objtool/include/objtool/special.h:10,
from special.c:16:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from tools/objtool/include/objtool/builtin.h:8,
from special.c:15:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from check.c:13:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from tools/objtool/include/objtool/builtin.h:8,
from check.c:11:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from builtin-check.c:10:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/objtool/libsubcmd/include/subcmd/parse-options.h:5,
from builtin-check.c:6:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from tools/include/linux/list.h:7,
from tools/objtool/include/objtool/cfi.h:10,
from tools/objtool/include/objtool/check.h:10,
from tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from objtool.c:16:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from objtool.c:13:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from orc_dump.c:8:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/arch/x86/include/asm/orc_types.h:10,
from orc_dump.c:7:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from orc_gen.c:12:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/arch/x86/include/asm/orc_types.h:10,
from orc_gen.c:10:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
In file included from tools/objtool/include/objtool/arch.h:11,
from tools/objtool/include/objtool/check.h:11,
from arch/x86/decode.c:18:
>> tools/objtool/include/objtool/objtool.h:15: warning: "__weak" redefined
15 | #define __weak __attribute__((weak))
|
In file included from tools/include/linux/compiler_types.h:74,
from tools/include/linux/compiler.h:5,
from tools/include/linux/build_bug.h:5,
from tools/include/linux/kernel.h:8,
from arch/x86/../../../arch/x86/lib/insn.c:8,
from arch/x86/decode.c:12:
tools/include/linux/compiler_attributes.h:437: note: this is the location of the previous definition
437 | # define __weak __attribute__((__weak__))
|
vim +/__weak +15 tools/objtool/include/objtool/objtool.h
d37c90d47fc465 tools/objtool/objtool.h Matt Helsley 2020-05-19 14
eda3dc905834dc tools/objtool/objtool.h Julien Thierry 2020-09-04 @15 #define __weak __attribute__((weak))
eda3dc905834dc tools/objtool/objtool.h Julien Thierry 2020-09-04 16
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread