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