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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202403110904.yrRIQbOJ-lkp@xxxxxxxxx/ 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