Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

[linux31(8,9)] compile issue due gcc61 #40

Closed
philmmanjaro opened this issue May 12, 2016 · 4 comments
Closed

[linux31(8,9)] compile issue due gcc61 #40

philmmanjaro opened this issue May 12, 2016 · 4 comments

Comments

@philmmanjaro
Copy link
Member

philmmanjaro commented May 12, 2016

It seems we have an issue regarding gcc61 as 3.18.x and 3.19.x won't compile due following 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
make[1]: *** Waiting for unfinished jobs....
@philmmanjaro philmmanjaro changed the title [linux318] compile issue due gcc61 [linux31(8,9)] compile issue due gcc61 May 12, 2016
@philmmanjaro
Copy link
Member Author

Upstream bugreport: https://lkml.org/lkml/2016/5/12/21

philmmanjaro added a commit that referenced this issue May 17, 2016
@DigiThax
Copy link

I'm getting the same issue. So its an issue with gcc6?

@oberon-manjaro
Copy link
Member

We are not bulding linx319 any more. For linux318 Philip has added this patch:
https://github.com/manjaro/packages-core/blob/master/linux318/fix-mod_devicetable.patch

@DigiThax
Copy link

DigiThax commented Jan 19, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants