Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed
Date: Mon, 06 Feb 2017 22:13:35
Message-Id: 3091dcbd-5de8-03aa-b54d-fb75349fa2f7@gmail.com
In Reply to: [gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed by Valmor de Almeida
1 On 06/02/2017 23:45, Valmor de Almeida wrote:
2 >
3 > Hello,
4 >
5 > Any idea on how to fix this on a gentoo virtualbox guest?
6 > Virtualbox-guest-additions will not emerge. The xf86-video build fails:
7 >
8 > [snip]
9 > if (static_branch_unlikely(&mcsafe_key))
10 > /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
11 > expected primary-expression before
12 > !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
13 >
14 > lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
15 > definition of macro
16 > # define unlikely(x) __builtin_expect(!!(x), 0)
17 > /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
18 > expansion of macro static_key_enabled
19 > #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
20 > /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
21 > expansion of macro ‘ static_branch_unlikely
22 > if (static_branch_unlikely(&mcsafe_key))
23 > ***
24 > [/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
25 > *** Exiting with status 2
26 > ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase):
27 ^^^^^^^^^^^^^^^^^^^^^
28
29 This is what is failing, not virtualbox-guest-additions
30
31 Try downgrade those drivers
32
33 --
34 Alan McKinnon
35 alan.mckinnon@×××××.com

Replies