Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot compile nvidia module with gcc 4.8.1 [Solved]
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
nimoov
n00b
n00b


Joined: 12 Mar 2012
Posts: 13

PostPosted: Mon Jul 29, 2013 10:46 am    Post subject: Cannot compile nvidia module with gcc 4.8.1 [Solved] Reply with quote

As the topic suggest I cannot compile the nvidia module with gcc 4.8.1. I have tried to compile it with several different kernels, so it must be a problem with gcc. The reason why I'm using gcc 4.8.1 is because my laptop have a haswell cpu. I used the following stage-3 build which is build and configured to use gcc 4.8.1 for haswell:
https://forums.gentoo.org/viewtopic-p-7343500.html

Build log:
http://bpaste.net/show/118299/

lspci:
http://bpaste.net/show/118302/

It's a Optimus laptop but that should not be a problem.


Last edited by nimoov on Mon Jul 29, 2013 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 452

PostPosted: Mon Jul 29, 2013 10:52 am    Post subject: Reply with quote

Compiling nvidia-drivers with gcc 4.8.1 is working fine for me.

Are you sure you have tried different kernels? (The version /usr/src/linux/ points to is the important one! At least your linked build log used kernel 3.10 which is unsupported by the current nvidia-drivers... there exists a patch though...)
_________________
System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Back to top
View user's profile Send private message
nimoov
n00b
n00b


Joined: 12 Mar 2012
Posts: 13

PostPosted: Mon Jul 29, 2013 11:36 am    Post subject: Reply with quote

You were right... nvidia-drivers compiled just fine under linux kernel 3.8.13. Where can I see which kernels are supported by nvidia?
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 452

PostPosted: Mon Jul 29, 2013 11:52 am    Post subject: Reply with quote

Look what emerge is printing...
Code:
 * Found sources for kernel version:
 *     3.10.3-gentoo-r1
 * Gentoo supports kernels which are supported by NVIDIA
 * which are limited to the following kernels:
 * <sys-kernel/gentoo-sources-3.10
 * <sys-kernel/vanilla-sources-3.10
 *
 * You are free to utilize epatch_user to provide whatever
 * support you feel is appropriate, but will not receive
 * support as a result of those changes.
 *
 * Do not file a bug report about this.


It sometimes happens that newer kernel releases break nvidia-drivers. If thats known a note is added to the ebuild.
_________________
System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jul 30, 2013 1:44 am    Post subject: Reply with quote

nimoov wrote:
Where can I see which kernels are supported by nvidia?

From the bitching & references to patches on the Nvidia forums. Also on Gentoo bugzilla :lol:
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