Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559276 - x11-drivers/nvidia-drivers-355.06-r1 fails to build on sys-kernel/gentoo-sources-4.2.0
Summary: x11-drivers/nvidia-drivers-355.06-r1 fails to build on sys-kernel/gentoo-sour...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2015-08-31 21:20 UTC by Guillaume Lespinasse
Modified: 2015-09-04 20:05 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Lespinasse 2015-08-31 21:20:02 UTC
The 4.2 kernel has made flush_workqueue() GPL-only, which possibly affects every version of the nvidia-drivers package and causes the following compile error:

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue'

A patch has already been applied for 4.3 according to this discussion:

Here is the build.log 

Reproducible: Always
Comment 1 Nikolaos Chatzidakis 2015-09-01 09:32:57 UTC
Same problem here on ~amd64.
Comment 2 Mike Pagano gentoo-dev 2015-09-02 17:10:07 UTC
gentoo-sources-4.2.0-r1 contains this patch. Please wait a few hours (as of this writing) for the genpatches and ebuild to hit your mirrors.
Comment 3 Mark Jacobson 2015-09-02 21:49:17 UTC
Latest patch confirmed fixed, built just fine for me.
Comment 4 Nikolaos Chatzidakis 2015-09-04 20:05:21 UTC
Problem solved for me too with gentoo-sources-4.2.0-r1.