All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 365/1733] main.c:117:50: error: 'ret' undeclared
Date: Thu, 15 Jul 2021 02:47:51 +0800	[thread overview]
Message-ID: <202107150243.KCJtWSTJ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 13829 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c0d438dbc0b74901f1901d97a6c84f38daa0c831
commit: 213d5092776345ad5d6e2efa36a6bfbe9899e8b3 [365/1733] drm/i915/ttm: Introduce a TTM i915 gem object backend
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=213d5092776345ad5d6e2efa36a6bfbe9899e8b3
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 213d5092776345ad5d6e2efa36a6bfbe9899e8b3
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 SHELL=/bin/bash tools/all

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   main.c: In function 'xbc_show_list':
>> main.c:117:50: error: 'ret' undeclared (first use in this function)
     117 |    fprintf(stderr, "Failed to compose key %d\n", ret);
         |                                                  ^~~
   main.c:117:50: note: each undeclared identifier is reported only once for each function it appears in
   make[3]: *** [Makefile:21: tools/bootconfig/bootconfig] Error 1
--
   Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
   Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
   Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h'
   Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/unistd.h' differs from latest version at 'arch/arm64/include/uapi/asm/unistd.h'
   Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h'
   Warning: Kernel ABI header at 'tools/perf/arch/x86/entry/syscalls/syscall_64.tbl' differs from latest version at 'arch/x86/entry/syscalls/syscall_64.tbl'
   Makefile.config:571: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
   Makefile.config:619: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
   Makefile.config:737: slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev
   Makefile.config:784: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
   Makefile.config:816: No 'python-config' tool was found: disables Python support - please install python-devel/python-dev
   Makefile.config:875: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling
   Makefile.config:919: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
   Makefile.config:998: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
   Makefile.config:1024: No alternatives command found, you need to set JDIR= to point to the root of your Java directory
   pmu-events/jevents.c:73:22: warning: no previous prototype for 'convert' [-Wmissing-prototypes]
      73 | enum aggr_mode_class convert(const char *aggr_mode)
         |                      ^~~~~~~
   pmu-events/jevents.c:93:13: warning: 'free_sys_event_tables' defined but not used [-Wunused-function]
      93 | static void free_sys_event_tables(void)
         |             ^~~~~~~~~~~~~~~~~~~~~
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/perf/staticobjs/netlink.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/perf/staticobjs/xsk.o] Error 1
     PERF_VERSION = 5.13.rc3.g213d50927763
   make[6]: *** [Makefile:158: tools/perf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile.perf:821: tools/perf/libbpf.a] Error 2
   make[5]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile.perf:238: sub-make] Error 2
   make[3]: *** [Makefile:70: all] Error 2
--
   In file included from ./linux/vringh.h:1,
                    from ../../drivers/vhost/vringh.c:9:
>> ./linux/../../../include/linux/vringh.h:50:2: error: unknown type name 'spinlock_t'
      50 |  spinlock_t *iotlb_lock;
         |  ^~~~~~~~~~
   make[3]: *** [<builtin>: vringh.o] Error 1
   make[3]: *** Waiting for unfinished jobs....
   In file included from ./linux/vringh.h:1,
                    from vringh_test.c:9:
>> ./linux/../../../include/linux/vringh.h:50:2: error: unknown type name 'spinlock_t'
      50 |  spinlock_t *iotlb_lock;
         |  ^~~~~~~~~~
   make[3]: *** [<builtin>: vringh_test.o] Error 1
   ../../drivers/virtio/virtio_ring.c: In function 'virtqueue_add.isra.0':
>> ../../drivers/virtio/virtio_ring.c:578:29: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     578 |   vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags =
         |                        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
   ../../drivers/virtio/virtio_ring.c:489:40: note: 'prev' was declared here
     489 |  unsigned int i, n, avail, descs_used, prev, err_idx;
         |                                        ^~~~
   ../../drivers/virtio/virtio_ring.c:1269:33: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    1269 |  vq->packed.desc_state[id].last = prev;
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
   ../../drivers/virtio/virtio_ring.c:1177:16: note: 'prev' was declared here
    1177 |  u16 head, id, prev, curr, avail_used_flags;
         |                ^~~~
>> ../../drivers/virtio/virtio_ring.c:1277:36: error: 'head_flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    1277 |  vq->packed.vring.desc[head].flags = head_flags;
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
   ../../drivers/virtio/virtio_ring.c:1176:9: note: 'head_flags' was declared here
    1176 |  __le16 head_flags, flags;
         |         ^~~~~~~~~~
   cc1: all warnings being treated as errors
   make[3]: *** [<builtin>: virtio_ring.o] Error 1
   ***
   *** The source tree is not clean, please run 'make mrproper'
   *** in /kbuild/worktree/build-ktools-consumer
   ***
   make[5]: *** [Makefile:567: outputmakefile] Error 1
   make[4]: *** [Makefile:733: include/config/auto.conf.cmd] Error 2
   make[3]: *** [Makefile:10: mod] Error 2
--
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/libbpf/staticobjs/netlink.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/libbpf/staticobjs/xsk.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/xsk.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:97: tools/bpf/runqslower/bpftool//libbpf/staticobjs/netlink.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/netlink.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//libbpf/staticobjs/xsk.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/xsk.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//libbpf/staticobjs/netlink.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/netlink.o] Error 1
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//libbpf/staticobjs/xsk.o] Error 1
   make[5]: *** [Makefile:158: tools/bpf/runqslower/libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:84: tools/bpf/runqslower/libbpf/libbpf.a] Error 2
   make[4]: *** Waiting for unfinished jobs....
   make[6]: *** [Makefile:158: tools/bpf/runqslower/bpftool//libbpf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile:41: tools/bpf/runqslower/bpftool//libbpf/libbpf.a] Error 2
   make[5]: *** Waiting for unfinished jobs....
   make[6]: *** [Makefile:158: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile:44: tools/bpf/runqslower/bpftool//bootstrap/libbpf/libbpf.a] Error 2
   make[4]: *** [Makefile:87: tools/bpf/runqslower/bpftool/bpftool] Error 2
   make[3]: *** [Makefile:119: runqslower] Error 2
   make[3]: *** Waiting for unfinished jobs....
   make[5]: *** [Makefile:158: tools/bpf/bpftool//libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:41: tools/bpf/bpftool//libbpf/libbpf.a] Error 2
   make[4]: *** Waiting for unfinished jobs....
   make[5]: *** [Makefile:158: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:44: tools/bpf/bpftool//bootstrap/libbpf/libbpf.a] Error 2
   make[3]: *** [Makefile:110: bpftool] Error 2
--
   libbpf: failed to find BTF for extern 'bpf_kfunc_call_test1' [27] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'bpf_kfunc_call_test1' [28] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'tcp_reno_cong_avoid' [38] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'tcp_cong_avoid_ai' [27] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF info for global/extern symbol 'my_tid'
>> Error: failed to link '/no_alu32/linked_funcs1.o': Unknown error -2 (-2)
--
   libbpf: failed to find BTF info for global/extern symbol 'input_rodata_weak'
>> Error: failed to link '/no_alu32/linked_vars1.o': Unknown error -2 (-2)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41857 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Matthew Auld <matthew.auld@intel.com>
Subject: [linux-next:master 365/1733] main.c:117:50: error: 'ret' undeclared
Date: Thu, 15 Jul 2021 02:47:51 +0800	[thread overview]
Message-ID: <202107150243.KCJtWSTJ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 13609 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c0d438dbc0b74901f1901d97a6c84f38daa0c831
commit: 213d5092776345ad5d6e2efa36a6bfbe9899e8b3 [365/1733] drm/i915/ttm: Introduce a TTM i915 gem object backend
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=213d5092776345ad5d6e2efa36a6bfbe9899e8b3
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 213d5092776345ad5d6e2efa36a6bfbe9899e8b3
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 SHELL=/bin/bash tools/all

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   main.c: In function 'xbc_show_list':
>> main.c:117:50: error: 'ret' undeclared (first use in this function)
     117 |    fprintf(stderr, "Failed to compose key %d\n", ret);
         |                                                  ^~~
   main.c:117:50: note: each undeclared identifier is reported only once for each function it appears in
   make[3]: *** [Makefile:21: tools/bootconfig/bootconfig] Error 1
--
   Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
   Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
   Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h'
   Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/unistd.h' differs from latest version at 'arch/arm64/include/uapi/asm/unistd.h'
   Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h'
   Warning: Kernel ABI header at 'tools/perf/arch/x86/entry/syscalls/syscall_64.tbl' differs from latest version at 'arch/x86/entry/syscalls/syscall_64.tbl'
   Makefile.config:571: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
   Makefile.config:619: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
   Makefile.config:737: slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev
   Makefile.config:784: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
   Makefile.config:816: No 'python-config' tool was found: disables Python support - please install python-devel/python-dev
   Makefile.config:875: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling
   Makefile.config:919: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
   Makefile.config:998: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
   Makefile.config:1024: No alternatives command found, you need to set JDIR= to point to the root of your Java directory
   pmu-events/jevents.c:73:22: warning: no previous prototype for 'convert' [-Wmissing-prototypes]
      73 | enum aggr_mode_class convert(const char *aggr_mode)
         |                      ^~~~~~~
   pmu-events/jevents.c:93:13: warning: 'free_sys_event_tables' defined but not used [-Wunused-function]
      93 | static void free_sys_event_tables(void)
         |             ^~~~~~~~~~~~~~~~~~~~~
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/perf/staticobjs/netlink.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/perf/staticobjs/xsk.o] Error 1
     PERF_VERSION = 5.13.rc3.g213d50927763
   make[6]: *** [Makefile:158: tools/perf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile.perf:821: tools/perf/libbpf.a] Error 2
   make[5]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile.perf:238: sub-make] Error 2
   make[3]: *** [Makefile:70: all] Error 2
--
   In file included from ./linux/vringh.h:1,
                    from ../../drivers/vhost/vringh.c:9:
>> ./linux/../../../include/linux/vringh.h:50:2: error: unknown type name 'spinlock_t'
      50 |  spinlock_t *iotlb_lock;
         |  ^~~~~~~~~~
   make[3]: *** [<builtin>: vringh.o] Error 1
   make[3]: *** Waiting for unfinished jobs....
   In file included from ./linux/vringh.h:1,
                    from vringh_test.c:9:
>> ./linux/../../../include/linux/vringh.h:50:2: error: unknown type name 'spinlock_t'
      50 |  spinlock_t *iotlb_lock;
         |  ^~~~~~~~~~
   make[3]: *** [<builtin>: vringh_test.o] Error 1
   ../../drivers/virtio/virtio_ring.c: In function 'virtqueue_add.isra.0':
>> ../../drivers/virtio/virtio_ring.c:578:29: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     578 |   vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags =
         |                        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
   ../../drivers/virtio/virtio_ring.c:489:40: note: 'prev' was declared here
     489 |  unsigned int i, n, avail, descs_used, prev, err_idx;
         |                                        ^~~~
   ../../drivers/virtio/virtio_ring.c:1269:33: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    1269 |  vq->packed.desc_state[id].last = prev;
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
   ../../drivers/virtio/virtio_ring.c:1177:16: note: 'prev' was declared here
    1177 |  u16 head, id, prev, curr, avail_used_flags;
         |                ^~~~
>> ../../drivers/virtio/virtio_ring.c:1277:36: error: 'head_flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    1277 |  vq->packed.vring.desc[head].flags = head_flags;
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
   ../../drivers/virtio/virtio_ring.c:1176:9: note: 'head_flags' was declared here
    1176 |  __le16 head_flags, flags;
         |         ^~~~~~~~~~
   cc1: all warnings being treated as errors
   make[3]: *** [<builtin>: virtio_ring.o] Error 1
   ***
   *** The source tree is not clean, please run 'make mrproper'
   *** in /kbuild/worktree/build-ktools-consumer
   ***
   make[5]: *** [Makefile:567: outputmakefile] Error 1
   make[4]: *** [Makefile:733: include/config/auto.conf.cmd] Error 2
   make[3]: *** [Makefile:10: mod] Error 2
--
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/libbpf/staticobjs/netlink.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/libbpf/staticobjs/xsk.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/xsk.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:97: tools/bpf/runqslower/bpftool//libbpf/staticobjs/netlink.o] Error 1
   make[7]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/netlink.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[7]: *** [tools/build/Makefile.build:96: tools/bpf/runqslower/bpftool//libbpf/staticobjs/xsk.o] Error 1
   In file included from netlink.c:9:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   In file included from tools/include/uapi/linux/ethtool.h:19,
                    from xsk.c:18:
>> usr/include/linux/if_ether.h:169:1: error: packed attribute is unnecessary for 'ethhdr' [-Werror=packed]
     169 | } __attribute__((packed));
         | ^
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/xsk.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//libbpf/staticobjs/netlink.o] Error 1
   make[6]: *** Waiting for unfinished jobs....
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/netlink.o] Error 1
   cc1: all warnings being treated as errors
   make[6]: *** [tools/build/Makefile.build:96: tools/bpf/bpftool//libbpf/staticobjs/xsk.o] Error 1
   make[5]: *** [Makefile:158: tools/bpf/runqslower/libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:84: tools/bpf/runqslower/libbpf/libbpf.a] Error 2
   make[4]: *** Waiting for unfinished jobs....
   make[6]: *** [Makefile:158: tools/bpf/runqslower/bpftool//libbpf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile:41: tools/bpf/runqslower/bpftool//libbpf/libbpf.a] Error 2
   make[5]: *** Waiting for unfinished jobs....
   make[6]: *** [Makefile:158: tools/bpf/runqslower/bpftool//bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[5]: *** [Makefile:44: tools/bpf/runqslower/bpftool//bootstrap/libbpf/libbpf.a] Error 2
   make[4]: *** [Makefile:87: tools/bpf/runqslower/bpftool/bpftool] Error 2
   make[3]: *** [Makefile:119: runqslower] Error 2
   make[3]: *** Waiting for unfinished jobs....
   make[5]: *** [Makefile:158: tools/bpf/bpftool//libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:41: tools/bpf/bpftool//libbpf/libbpf.a] Error 2
   make[4]: *** Waiting for unfinished jobs....
   make[5]: *** [Makefile:158: tools/bpf/bpftool//bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[4]: *** [Makefile:44: tools/bpf/bpftool//bootstrap/libbpf/libbpf.a] Error 2
   make[3]: *** [Makefile:110: bpftool] Error 2
--
   libbpf: failed to find BTF for extern 'bpf_kfunc_call_test1' [27] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'bpf_kfunc_call_test1' [28] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'tcp_reno_cong_avoid' [38] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF for extern 'tcp_cong_avoid_ai' [27] section: -2
>> Error: failed to open BPF object file: No such file or directory
--
   libbpf: failed to find BTF info for global/extern symbol 'my_tid'
>> Error: failed to link '/no_alu32/linked_funcs1.o': Unknown error -2 (-2)
--
   libbpf: failed to find BTF info for global/extern symbol 'input_rodata_weak'
>> Error: failed to link '/no_alu32/linked_vars1.o': Unknown error -2 (-2)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41857 bytes --]

             reply	other threads:[~2021-07-14 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14 18:47 kernel test robot [this message]
2021-07-14 18:47 ` [linux-next:master 365/1733] main.c:117:50: error: 'ret' undeclared kernel test robot

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=202107150243.KCJtWSTJ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: 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.