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]
Date:   Sun, 26 Mar 2017 19:50:15 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        tipbuild@...or.com, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:locking/core 14/14] arch/sparc/include/asm/setup.h:17:22:
 error: 'boot_cpu_id' redeclared as different kind of symbol

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core
head:   4ef9ea9524c0015e551d062ac75ab9fd04365277
commit: 4ef9ea9524c0015e551d062ac75ab9fd04365277 [14/14] lockdep: Fix per-cpu static objects
config: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4ef9ea9524c0015e551d062ac75ab9fd04365277
        # save the attached .config to linux build tree
        make.cross ARCH=sparc 

All errors (new ones prefixed by >>):

   In file included from drivers/pci/pci.c:31:0:
>> arch/sparc/include/asm/setup.h:17:22: error: 'boot_cpu_id' redeclared as different kind of symbol
    extern unsigned char boot_cpu_id;
                         ^~~~~~~~~~~
   In file included from include/linux/topology.h:33:0,
                    from include/linux/gfp.h:8,
                    from include/linux/slab.h:14,
                    from include/linux/resource_ext.h:19,
                    from include/linux/acpi.h:26,
                    from drivers/pci/pci.c:10:
   include/linux/smp.h:168:19: note: previous definition of 'boot_cpu_id' was here
    static inline int boot_cpu_id(void)
                      ^~~~~~~~~~~

vim +/boot_cpu_id +17 arch/sparc/include/asm/setup.h

d550bbd4 David Howells    2012-03-28  11  extern char reboot_command[];
d550bbd4 David Howells    2012-03-28  12  
5fcafb7a Daniel Hellstrom 2011-04-21  13  #ifdef CONFIG_SPARC32
5fcafb7a Daniel Hellstrom 2011-04-21  14  /* The CPU that was used for booting
5fcafb7a Daniel Hellstrom 2011-04-21  15   * Only sun4d + leon may have boot_cpu_id != 0
5fcafb7a Daniel Hellstrom 2011-04-21  16   */
5fcafb7a Daniel Hellstrom 2011-04-21 @17  extern unsigned char boot_cpu_id;
d550bbd4 David Howells    2012-03-28  18  
d550bbd4 David Howells    2012-03-28  19  extern unsigned long empty_zero_page;
d550bbd4 David Howells    2012-03-28  20  

:::::: The code at line 17 was first introduced by commit
:::::: 5fcafb7a23e35b2f1a5243f4dd536240f52c8ceb sparc32: always define boot_cpu_id

:::::: TO: Daniel Hellstrom <daniel@...sler.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ