Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with sys-kernel/gentoo-sources-4.0.5 and VBox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 229

PostPosted: Thu Jun 18, 2015 11:57 am    Post subject: problem with sys-kernel/gentoo-sources-4.0.5 and VBox Reply with quote

Hi,
Today I've upgraded to the latest stable kernel version which for amd64 arch is 4.0.5.
As always, after upgrading the kernel I issued "emerge @module-rebuild" and have encountered an error upon rebuilding x11-drivers/xf86-video-virtualbox.

the error output is as follows:
Code:

/lib/modules/4.0.5-gentoo/build/include/linux/compiler.h:222:29: error: can’t set ‘no_instrument_function’ attribute after definition
 static __always_inline void __write_once_size(volatile void *p, void *res, int size)


I believe it has something to do with some kernel configuration yet I don't know where to start looking can somebody help?

please let me know if you need more info (complete build.log is too big for pastebin...)

Edit 1: just found this: https://forums.gentoo.org/viewtopic-p-7719548.html?sid=7ed99e2dc7a7da45eb421531945645df
seems like upgrading to unstable GCC might be the only solution...

Edit 2: I can confirm that upgrading to GCC 4.9.2 fixes the problem now, however, I noticed that on the linked post the guys are using kernel 3.19 whereas I used 3.18 (before the upgrade) and on kernel 3.18 there was no problem rebuilding x11-drivers/xf86-video-virtualbox.
So, I'm still pretty sure that it has something to do with kernel configuration rather that solely with GCC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum