Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 591840

Summary: x11-drivers/nvidia-drivers should check for TRIM_UNUSED_KSYMS on kernel 4.7+
Product: Gentoo Linux Reporter: haarp <main.haarp>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***