Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362447 - x11-drivers/nvidia-drivers failed to compile with kernel 2.6.39
Summary: x11-drivers/nvidia-drivers failed to compile with kernel 2.6.39
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 14:07 UTC by Denis Sokolovsky
Modified: 2011-05-11 16:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for nvidia driver sources (2.6.39-kernel.patch,704 bytes, patch)
2011-04-07 14:12 UTC, Denis Sokolovsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sokolovsky 2011-04-07 14:07:07 UTC
Due to removing of kernel lock facility file "linux/smp_lock.h" is removed from kernel sources. This leads to compilation failure of any version of nvidia-drivers package I tried.

Reproducible: Always

Steps to Reproduce:
1. Prepare 2.6.39 sources
2. Try to emerge nvidia-drivers
Comment 1 Denis Sokolovsky 2011-04-07 14:11:49 UTC
Why I post bug here? I propose to add a small patch to nvidia-drivers ebuild. It's really simple - remove including of smp_lock.h from driver sources. Looks like developers in nvidia simply forget about it. Currently I have 2.6.39-rc1 kernel and nvidia-drivers 260.19.36 compiled with proposed patch.
Comment 2 Denis Sokolovsky 2011-04-07 14:12:56 UTC
Created attachment 268851 [details, diff]
patch for nvidia driver sources

patch for nvidia driver sources to compile with kernel 2.6.39
Comment 3 Denis Sokolovsky 2011-04-14 16:09:48 UTC
Despite of releasing of new nvidia-drivers (270.41.03) which are compiles with kernel 2.6.39 I propose to add this patch to allow successful compilation of older 260.x drivers.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2011-05-11 16:07:41 UTC
We have a policy of not patching older series for newer kernels since this is not supported by NVIDIA.