All of lore.kernel.org
 help / color / mirror / Atom feed
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: 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 09:17:08 +0800	[thread overview]
Message-ID: <202403110904.yrRIQbOJ-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 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

  parent reply	other threads:[~2024-03-11  1:17 UTC|newest]

Thread overview: 27+ 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
2024-03-11  1:17   ` 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=202403110904.yrRIQbOJ-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=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 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.