Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586066 - x11-drivers/nvidia-drivers-367.27 with kernel 4.7 - .../work/kernel/nvidia-uvm/uvm_linux.h:566:13: error: redefinition of ‘radix_tree_empty’
Summary: x11-drivers/nvidia-drivers-367.27 with kernel 4.7 - .../work/kernel/nvidia-uv...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 589858 589880 590144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-16 04:21 UTC by Pablo Cholaky
Modified: 2016-08-21 10:02 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,80.74 KB, text/plain)
2016-06-16 04:21 UTC, Pablo Cholaky
Details
Proposed patch for version 4.7.0 (nvidia-drivers-linux470.patch,2.00 KB, patch)
2016-06-16 04:24 UTC, Pablo Cholaky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cholaky 2016-06-16 04:21:45 UTC
Created attachment 437708 [details]
build.log

Nvidia Drivers is failing due overlap of functions added in Kernel 4.7.0 with ones used by Nvidia into the kernel module source code.

Using kernel 4.7.0-rc3, Portage 2.3.0_rc1.

Attached build.log file.
Comment 1 Pablo Cholaky 2016-06-16 04:24:12 UTC
Created attachment 437710 [details, diff]
Proposed patch for version 4.7.0

This is the proposed patch I been using since kernel 4.7.0-rc1. should work until Nvidia can fix this issue by themselves, or Linus decides to rename the function, which I don't think so.

Basically what the patch does is renaming the conflicting function into the header and function where is used.
Comment 2 Pablo Cholaky 2016-07-14 04:04:25 UTC
Adding the pull request generated at portage for review https://github.com/gentoo/gentoo/pull/1833
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-28 17:57:36 UTC
*** Bug 589880 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-28 17:58:17 UTC
*** Bug 589858 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-31 23:31:59 UTC
*** Bug 590144 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-21 10:02:31 UTC
*** Bug 591640 has been marked as a duplicate of this bug. ***