All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'?
@ 2020-04-03 15:49 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-03 15:49 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-03 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-03 15:49 [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'? kbuild test robot

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.