1 |
On Mon, Feb 6, 2017 at 9:25 PM, Valmor de Almeida <val.gentoo@×××××.com> wrote: |
2 |
> On Mon, Feb 6, 2017 at 5:10 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
>> On 06/02/2017 23:45, Valmor de Almeida wrote: |
4 |
>>> |
5 |
>>> Hello, |
6 |
>>> |
7 |
>>> Any idea on how to fix this on a gentoo virtualbox guest? |
8 |
>>> Virtualbox-guest-additions will not emerge. The xf86-video build fails: |
9 |
>>> |
10 |
>>> [snip] |
11 |
>>> if (static_branch_unlikely(&mcsafe_key)) |
12 |
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48: |
13 |
>>> expected primary-expression before |
14 |
>>> !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \ |
15 |
>>> |
16 |
>>> lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note: |
17 |
>>> definition of macro |
18 |
>>> # define unlikely(x) __builtin_expect(!!(x), 0) |
19 |
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44: |
20 |
>>> expansion of macro static_key_enabled |
21 |
>>> #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key)) |
22 |
>>> /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note: |
23 |
>>> expansion of macro ‘ static_branch_unlikely |
24 |
>>> if (static_branch_unlikely(&mcsafe_key)) |
25 |
>>> *** |
26 |
>>> [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-5.0.32/work/VirtualBox-5.0.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o |
27 |
>>> *** Exiting with status 2 |
28 |
>>> ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): |
29 |
>> ^^^^^^^^^^^^^^^^^^^^^ |
30 |
>> |
31 |
>> This is what is failing, not virtualbox-guest-additions |
32 |
> |
33 |
> Correct. The driver package gets pulled in. |
34 |
> |
35 |
>> |
36 |
>> Try downgrade those drivers |
37 |
> |
38 |
> Tried every ebuild available for an older version and no luck; which |
39 |
> makes me think something else is causing this. Compiler? some option |
40 |
> in the kernel? |
41 |
|
42 |
Here is what worked after many iterations: |
43 |
|
44 |
https://forums.gentoo.org/viewtopic-p-8029046.html#8029046 |
45 |
|
46 |
-- |
47 |
Valmor |
48 |
|
49 |
> |
50 |
> Thanks, |
51 |
> -- |
52 |
> Valmor |
53 |
> |
54 |
>> |
55 |
>> -- |
56 |
>> Alan McKinnon |
57 |
>> alan.mckinnon@×××××.com |
58 |
>> |
59 |
>> |