Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 475382

Summary: x11-drivers/nvidia-drivers fails to build with 3.10 kernel
Product: Gentoo Linux Reporter: Jiri Netolicky <netolicky>
Component: [OLD] LibraryAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED DUPLICATE    
Severity: normal CC: s.bahro+bgo, SuloevDmitry, xarthisius
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jiri Netolicky 2013-07-01 06:11:17 UTC
Building nvidia-drivers fails with 3.10 kernel. Problem is in
nv-i2c.c line 327.

 osstatus = i2c_del_adapter(pI2cAdapter);


In 3.10 kernel the i2c_del_adapter method is declared
as returning void:

extern void i2c_del_adapter(struct i2c_adapter *);

Reasons are described in this mail:

http://lkml.indiana.edu/hypermail/linux/kernel/1303.1/00616.html
Comment 1 Dmitry Suloev 2013-07-01 07:33:10 UTC
Looks like this is not one problem...
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-01 07:42:19 UTC
(Quoting Doug Goldstein from bug #447566 comment #56)
> It is and has always been Gentoo's policy to support what NVIDIA supports. The current versions of the drivers do not support 3.10. You are more than welcome to use the capabilities of epatch_user (which are present in all the ebuilds) to make the changes yourself but they do not go into the main tree.

*** This bug has been marked as a duplicate of bug 447566 ***