Kernel 2.6.7 modules vs FC2 kernel module file size differences
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Mon Jun 28 17:55:51 UTC 2004
On Sat, 2004-06-26 at 11:48, Alexander Dalloz wrote:
> Am Sa, den 26.06.2004 schrieb Sanjeev Das um 20:31:
>
> [ reordered due to top-posting ]
>
> > >> This causes my modules directory to be a whopping 300MB in size. using
> > >> redhat's supplied config file still gives me that. What's happening?
> > >
> > > Dave Jones explained that here recently: your custom compiled modules contain debug code
> > > while the modules of the default Fedora kernel are stripped.
>
> > Is there a way to custom compile without the debug code?
>
> Yes, when configuring your kernel setup by editing the .config disable debug.
Yeah.. Just found it.
I was wondering what was happening since I was using redhat's .config
file and stripping things out.
>
> Dave Jones @redhat.com:
>
> "The ones from the rpm have their debug info stripped and put into the aptly named 'debuginfo' rpm.
> When you compile it yourself, it leaves this info in the file.
>
> If you don't care about it you can unset CONFIG_DEBUG_INFO and it won't
> generate it.
>
> Dave"
>
> From thread: Size problem compiling kernel modules; 2004/07/06
>
> You could have researched that yourself. Next time please.
I missed that in my searches. Sorry.
and Thanks.
More information about the fedora-list
mailing list