Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591832 - linux-mod.eclass: add CONFIG_CHECK=~!TRIM_UNUSED_KSYMS by default
Summary: linux-mod.eclass: add CONFIG_CHECK=~!TRIM_UNUSED_KSYMS by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 591640 594224
  Show dependency tree
 
Reported: 2016-08-21 23:38 UTC by Alex Xu (Hello71)
Modified: 2018-10-17 12:37 UTC (History)
3 users (show)

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