On Mon, Feb 6, 2017 at 5:10 PM, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> On 06/02/2017 23:45, Valmor de Almeida wrote:
>>
>> Hello,
>>
>> Any idea on how to fix this on a gentoo virtualbox guest?
>> Virtualbox-guest-additions will not emerge. The xf86-video build fails:
>>
>> [snip]
>>   if (static_branch_unlikely(&mcsafe_key))
>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
>> expected primary-expression before
>>       !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
>>
>> lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
>> definition of macro
>>  # define unlikely(x) __builtin_expect(!!(x), 0)
>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
>> expansion of macro static_key_enabled
>>  #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
>> /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
>> expansion of macro ‘ static_branch_unlikely
>>   if (static_branch_unlikely(&mcsafe_key))
>> ***
>> [/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
>> *** Exiting with status 2
>>  ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile 
>> phase):
>                       ^^^^^^^^^^^^^^^^^^^^^
>
> This is what is failing, not virtualbox-guest-additions

Correct. The driver package gets pulled in.

>
> Try downgrade those drivers

Tried every ebuild available for an older version and no luck; which
makes me think something else is causing this. Compiler? some option
in the kernel?

Thanks,
--
Valmor

>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>

Reply via email to