From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:x86/static_call 10/17] check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
Date: Fri, 03 Apr 2020 23:49:43 +0800 [thread overview]
Message-ID: <202004032328.2d0fJfth%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 43419 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/static_call
head: d3f214fee97b689450df44bde6ccd4a5a8ec1a90
commit: 6498501d1b17d21ca0a903a3b8c7ec57457b7dbc [10/17] x86/static_call: Add inline static call implementation for x86-64
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 6498501d1b17d21ca0a903a3b8c7ec57457b7dbc
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from elf.h:12:0,
from check.h:10,
from check.c:10:
check.c: In function 'create_static_call_sections':
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:58:24: note: in definition of macro 'hash_add'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
>> check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro '__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &@[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro '__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
check.c:459:22: error: 'struct section' has no member named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro 'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
---
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: 72688 bytes --]
reply other threads:[~2020-04-03 15:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202004032328.2d0fJfth%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.