Inflated modules result from compiling custom 2.6.0-0.test11.1.99 kernel

Jeremy Katz katzj at redhat.com
Wed Dec 17 15:48:17 UTC 2003


On Sat, 2003-12-13 at 19:55, Willem Riede wrote:
> To my surprise, the result of compilation is wildly bloated modules:
[snip]
> Does anybody understand why that may be, and how I can put them on a diet?

The modules aren't being stripped by the kernel makefiles so that you
have debugging information.  In the RPM, they then get stripped off into
.debug files for the -debuginfo package.  

To put them on a diet,  just `find /lib/modules/$(uname -r)/ -name
'*.ko' |xargs strip`

Cheers,

Jeremy





More information about the fedora-devel-list mailing list