lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107200818.lkstxXDY-lkp@intel.com>
Date:   Tue, 20 Jul 2021 08:16:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnaldo Carvalho de Melo <acme@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: ./runqslower.h:7:8: error: redefinition of 'event'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 tools headers: Get tools's linux/compiler.h closer to the kernel's
date:   7 months ago
config: i386-randconfig-h002-20200226-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/torvalds/linux.git/commit/?id=4bba4c4bb09ad4a2b70836725e08439c86d8f9e4
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash -C tools/testing/selftests/bpf install

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

All errors (new ones prefixed by >>):

   In file included from runqslower.bpf.c:5:
>> ./runqslower.h:7:8: error: redefinition of 'event'
   struct event {
          ^
   tools/testing/selftests/bpf/tools/vmlinux.h:113262:8: note: previous definition is here
   struct event {
          ^
>> runqslower.bpf.c:86:8: error: no member named 'pid' in 'struct event'
           event.pid = pid;
           ~~~~~ ^
>> runqslower.bpf.c:87:8: error: no member named 'delta_us' in 'struct event'
           event.delta_us = delta_us;
           ~~~~~ ^
>> runqslower.bpf.c:88:30: error: no member named 'task' in 'struct event'
           bpf_get_current_comm(&event.task, sizeof(event.task));
                                 ~~~~~ ^
   runqslower.bpf.c:88:49: error: no member named 'task' in 'struct event'
           bpf_get_current_comm(&event.task, sizeof(event.task));
                                                    ~~~~~ ^
   5 errors generated.

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

Download attachment ".config.gz" of type "application/gzip" (42831 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ