Re: Size problem compiling kernel modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-06-07 at 10:22, Dave Abbott wrote:

> I am recompiling the 2.6.5-1.358 kernel from
> the patched source, using gcc 3.3 on Fedora Core2
> 
> I have made no more than two modifications to the
> .config (to enable NFS_ROOT and DEVFS).
> 
> The resulting module object files are enormous.
> 
> For example, the orginal £com driver as installed:
> 
> drwxr--r--  1 root root 40100 May  8 14:46 kernel/drivers/net/3c59x.ko
> 
> And the same file as compiled:
> 
> -rw-r--r--    1 root     root       271889 Jun  4 14:16 drivers/net/3c59x.ko
> 
> All the .ko are like this, increasing the size of /lib/modules/2.6.5-1.358
> from c. 58MB to 337MB
> 
> The files are not stripped, in either case.
> 
> Am I doing something wrong here? Anyone got any ideas?

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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux