[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201807011038.qcor3fEY%fengguang.wu@intel.com>
Date: Sun, 1 Jul 2018 10:45:40 +0800
From: kbuild test robot <lkp@...el.com>
To: Alexei Starovoitov <ast@...nel.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: tools/include/asm-generic/bitsperlong.h:14:2: error: #error
Inconsistent word size. Check asm/bitsperlong.h
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 883c9ab9eb595f8542d01e55d29a346c8d96862e
commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC
date: 4 weeks ago
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 819dd92b9c0bc7bce9097d8c1f14240f471bb386
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=alpha
All errors (new ones prefixed by >>):
In file included from tools/include/uapi/asm/bitsperlong.h:17:0,
from /usr/alpha-linux-gnu/include/asm-generic/int-l64.h:11,
from /usr/alpha-linux-gnu/include/asm/types.h:12,
from tools/include/linux/types.h:10,
from ./include/uapi/linux/bpf.h:11,
from net/bpfilter/main.c:9:
>> tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
#error Inconsistent word size. Check asm/bitsperlong.h
^~~~~
vim +14 tools/include/asm-generic/bitsperlong.h
bb970707 Arnaldo Carvalho de Melo 2016-07-12 12
2a00f026 Arnaldo Carvalho de Melo 2016-07-13 13 #if BITS_PER_LONG != __BITS_PER_LONG
bb970707 Arnaldo Carvalho de Melo 2016-07-12 @14 #error Inconsistent word size. Check asm/bitsperlong.h
bb970707 Arnaldo Carvalho de Melo 2016-07-12 15 #endif
bb970707 Arnaldo Carvalho de Melo 2016-07-12 16
:::::: The code at line 14 was first introduced by commit
:::::: bb9707077b4ee5f77bc9939b057ff8a0d410296f tools: Copy the bitsperlong.h files from the kernel
:::::: TO: Arnaldo Carvalho de Melo <acme@...hat.com>
:::::: CC: Arnaldo Carvalho de Melo <acme@...hat.com>
---
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" (52572 bytes)
Powered by blists - more mailing lists