Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614406 - x11-drivers/nvidia-drivers-378.13 won't build on linux-4.10.8: linux/fence.h / struct fence missing
Summary: x11-drivers/nvidia-drivers-378.13 won't build on linux-4.10.8: linux/fence.h ...
Status: RESOLVED DUPLICATE of bug 610058
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-01 10:47 UTC by Felix J. Ogris
Modified: 2017-04-08 07:32 UTC (History)
2 users (show)

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


Attachments
patch will let you build nvidia-drivers-378.13 on vanilla linux kernel 4.10.8 (patch_nvidia_378_13-3.patch,6.29 KB, patch)
2017-04-01 10:47 UTC, Felix J. Ogris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix J. Ogris 2017-04-01 10:47:53 UTC
Created attachment 468860 [details, diff]
patch will let you build nvidia-drivers-378.13 on vanilla linux kernel 4.10.8

Kernel version 4.10.8 no longer has include/linux/fence.h, but dma-fence.h
So, functions like fence_init(), fence_get(), and so on have been renamed to dma_fence_*
struct fence has been renamed to struct dma_fence as well
Put the attached patch to /etc/portage/patches/x11-drivers/nvidia-drivers-378.13 and emerge nvidia-drivers
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-08 07:32:15 UTC

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