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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 20 Jan 2017 04:31:12 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Gideon Israel Dsouza <gidisrael@...il.com>
Cc:     kbuild-all@...org, akpm@...ux-foundation.org,
        linux-kernel@...r.kernel.org, gerg@...ux-m68k.org,
        geert@...ux-m68k.org, linux-m68k@...ts.linux-m68k.org,
        Gideon Israel Dsouza <gidisrael@...il.com>
Subject: Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from
 compiler.h

Hi Gideon,

[auto build test ERROR on m68k/for-next]
[also build test ERROR on v4.10-rc4 next-20170119]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Gideon-Israel-Dsouza/compiler-gcc-h-Added-new-macro-for-gcc-attribute/20170120-032332
base:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

>> arch/m68k/lib/ashldi3.c:21:1: error: unknown machine mode 'x'
    typedef   int SItype __mode(SI);
    ^
>> arch/m68k/lib/ashldi3.c:21:28: error: expected ',' or ';' before '(' token
    typedef   int SItype __mode(SI);
                               ^
   arch/m68k/lib/ashldi3.c:22:1: error: unknown machine mode 'x'
    typedef unsigned int USItype __mode(SI);
    ^
   arch/m68k/lib/ashldi3.c:22:36: error: expected ',' or ';' before '(' token
    typedef unsigned int USItype __mode(SI);
                                       ^
   arch/m68k/lib/ashldi3.c:23:1: error: unknown machine mode 'x'
    typedef   int DItype __mode(DI);
    ^
   arch/m68k/lib/ashldi3.c:23:28: error: expected ',' or ';' before '(' token
    typedef   int DItype __mode(DI);
                               ^
   arch/m68k/lib/ashldi3.c:24:1: error: unknown machine mode 'x'
    typedef int word_type           __mode(__word__);
    ^
   arch/m68k/lib/ashldi3.c:24:39: error: expected ',' or ';' before '(' token
    typedef int word_type           __mode(__word__);
                                          ^
--
>> arch/m68k/lib/ashrdi3.c:21:1: error: unknown machine mode 'x'
    typedef   int SItype __mode(SI);
    ^
>> arch/m68k/lib/ashrdi3.c:21:28: error: expected ',' or ';' before '(' token
    typedef   int SItype __mode(SI);
                               ^
   arch/m68k/lib/ashrdi3.c:22:1: error: unknown machine mode 'x'
    typedef unsigned int USItype __mode(SI);
    ^
   arch/m68k/lib/ashrdi3.c:22:36: error: expected ',' or ';' before '(' token
    typedef unsigned int USItype __mode(SI);
                                       ^
   arch/m68k/lib/ashrdi3.c:23:1: error: unknown machine mode 'x'
    typedef   int DItype __mode(DI);
    ^
   arch/m68k/lib/ashrdi3.c:23:28: error: expected ',' or ';' before '(' token
    typedef   int DItype __mode(DI);
                               ^
   arch/m68k/lib/ashrdi3.c:24:1: error: unknown machine mode 'x'
    typedef int word_type           __mode(__word__);
    ^
   arch/m68k/lib/ashrdi3.c:24:39: error: expected ',' or ';' before '(' token
    typedef int word_type           __mode(__word__);
                                          ^
--
>> arch/m68k/lib/lshrdi3.c:21:1: error: unknown machine mode 'x'
    typedef   int SItype __mode(SI);
    ^
>> arch/m68k/lib/lshrdi3.c:21:28: error: expected ',' or ';' before '(' token
    typedef   int SItype __mode(SI);
                               ^
   arch/m68k/lib/lshrdi3.c:22:1: error: unknown machine mode 'x'
    typedef unsigned int USItype __mode(SI);
    ^
   arch/m68k/lib/lshrdi3.c:22:36: error: expected ',' or ';' before '(' token
    typedef unsigned int USItype __mode(SI);
                                       ^
   arch/m68k/lib/lshrdi3.c:23:1: error: unknown machine mode 'x'
    typedef   int DItype __mode(DI);
    ^
   arch/m68k/lib/lshrdi3.c:23:28: error: expected ',' or ';' before '(' token
    typedef   int DItype __mode(DI);
                               ^
   arch/m68k/lib/lshrdi3.c:24:1: error: unknown machine mode 'x'
    typedef int word_type           __mode(__word__);
    ^
   arch/m68k/lib/lshrdi3.c:24:39: error: expected ',' or ';' before '(' token
    typedef int word_type           __mode(__word__);
                                          ^
--
>> arch/m68k/lib/muldi3.c:68:1: error: unknown machine mode 'x'
    typedef   int SItype __mode(SI);
    ^
>> arch/m68k/lib/muldi3.c:68:28: error: expected ',' or ';' before '(' token
    typedef   int SItype __mode(SI);
                               ^
   arch/m68k/lib/muldi3.c:69:1: error: unknown machine mode 'x'
    typedef unsigned int USItype __mode(SI);
    ^
   arch/m68k/lib/muldi3.c:69:36: error: expected ',' or ';' before '(' token
    typedef unsigned int USItype __mode(SI);
                                       ^
   arch/m68k/lib/muldi3.c:70:1: error: unknown machine mode 'x'
    typedef   int DItype __mode(DI);
    ^
   arch/m68k/lib/muldi3.c:70:28: error: expected ',' or ';' before '(' token
    typedef   int DItype __mode(DI);
                               ^
   arch/m68k/lib/muldi3.c:71:1: error: unknown machine mode 'x'
    typedef int word_type           __mode(__word__);
    ^
   arch/m68k/lib/muldi3.c:71:39: error: expected ',' or ';' before '(' token
    typedef int word_type           __mode(__word__);
                                          ^

vim +/x +21 arch/m68k/lib/ashldi3.c

    15	
    16	#include <linux/compiler.h>
    17	#include <linux/export.h>
    18	
    19	#define BITS_PER_UNIT 8
    20	
  > 21	typedef		 int SItype	__mode(SI);
    22	typedef unsigned int USItype	__mode(SI);
    23	typedef		 int DItype	__mode(DI);
    24	typedef int word_type           __mode(__word__);

---
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" (38232 bytes)

Powered by blists - more mailing lists