Summary: | x11-drivers/nvidia-drivers-378.13 won't build on linux-4.10.8: linux/fence.h / struct fence missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix J. Ogris <fjo-gentoo> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | markus.knetschke, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch will let you build nvidia-drivers-378.13 on vanilla linux kernel 4.10.8 |
The patch you attached is incomplete. Try this one: https://gist.githubusercontent.com/tpruzina/c4d9c0ca6bdbb6e78ab2126a7cdf8f1c/raw/38ccd3224f3205e45982c0c217e23d04f9681b49/gistfile1.txt *** This bug has been marked as a duplicate of bug 610058 *** |
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