Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591840 - x11-drivers/nvidia-drivers should check for TRIM_UNUSED_KSYMS on kernel 4.7+
Summary: x11-drivers/nvidia-drivers should check for TRIM_UNUSED_KSYMS on kernel 4.7+
Status: RESOLVED DUPLICATE of bug 591640
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-22 07:55 UTC by haarp
Modified: 2016-08-22 08:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2016-08-22 07:55:21 UTC
According to my own experiences and https://forums.gentoo.org/viewtopic-p-7949962.html#7949962, nvidia-drivers fails to compile with TRIM_UNUSED_KSYMS set due to access violations.

Example:

 * ACCESS DENIED:  fopen_wr:     /usr/src/linux-4.7.2-gentoo/nv-frontend.d
/var/tmp/portage/x11-drivers/nvidia-drivers-367.27/work/kernel/nvidia/nv-frontend.c:16:0: fatal error: opening dependency file nv-frontend.d: Permission denied
 
 ^
compilation terminated.


The ebuild should probably check for it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-22 08:49:56 UTC

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