[linux318][gcc61] error: storage size of â__mod_vmbus__id_table_device_tableâ isnât known

From: Philip MÃller
Date: Thu May 12 2016 - 02:15:26 EST


Hi Greg, hi Sasha,

I did a new set of kernel point releases and hit only with 3.18.33 rock
bottom. Compiling linux314-3.14.69-1, linux41-4.1.24-1, linux44-4.4.10-1
and linux45-4.5.4-1 went just fine.

With 3.18 series I get followed compile error:

In file included from drivers/hid/hid-hyperv.c:16:0:
include/linux/module.h:138:40: error: storage size of
â__mod_vmbus__id_table_device_tableâ isnât known
extern const struct type##_device_id
__mod_##type##__##name##_device_table \
^
drivers/hid/hid-hyperv.c:594:1: note: in expansion of macro
âMODULE_DEVICE_TABLEâ
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:263: recipe for target 'drivers/hid/hid-hyperv.o'
failed
make[2]: *** [drivers/hid/hid-hyperv.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/hid' failed
make[1]: *** [drivers/hid] Error 2
Makefile:937: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....

So I tested also .32, which I compiled with gcc gcc 5.3.0-5 just fine
before.

Used toolchain for this build:

binutils 2.26-4
glibc 2.23-2
gcc 6.1.1-1
linux-api-headers 4.5.2-1

Any clues why only 3.18 series has this issue?

kind regards
Philip MÃller
---------------------------
Manjaro Project Lead