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

Bug 591832

Summary: linux-mod.eclass: add CONFIG_CHECK=~!TRIM_UNUSED_KSYMS by default
Product: Gentoo Linux Reporter: Alex Xu (Hello71) <alex_y_xu>
Component: EclassesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal CC: eu9gu4, jer, josef64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=661722
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 591640, 594224    

Description Alex Xu (Hello71) 2016-08-21 23:38:13 UTC
basically no non-trivial modules will work with this on, and users are dumb and don't read Kconfig descriptions.
Comment 1 Alex Xu (Hello71) 2016-08-21 23:38:30 UTC
*** Bug 591640 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-22 08:51:26 UTC

*** This bug has been marked as a duplicate of bug 591640 ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-22 08:53:28 UTC
Please do not mark bugs about packages exhibiting the issue as duplicates, as people will not be able to search for the solution or workaround to their specific issue that way. Leave them open and make them block this bug.
Comment 4 Marek Szuba archtester gentoo-dev 2016-11-28 10:52:58 UTC
+1 on adding this check. I have just tried to install nvidia-drivers on a system on which I had previously enabled TRIM_UNUSED_KSYMS in the kernel and it failed spectacularly, with both build-time errors (which I managed to work around) and nvidia.ko not loading due to undefined symbols. Fortunately I remembered there being such an option in the kernel config so I was able to fix it.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-28 12:33:47 UTC
(In reply to Marek Szuba from comment #4)
> +1 on adding this check.

So write the patch and send it to the -dev@ mailing list.