Re: Module sizes very different comparing FC4 --> self compiled

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

 



On 10/17/05, Sven Schuster <schuster.sven@xxxxxx> wrote:
>
[snip]
> My system is a Fedora Core 4 installation, and additionally to
> installing the FC4 kernel updates I always compile the latest -mm
> kernel on my system.
> One thing I noticed is that there is a _big_ difference in the size
> of the kernel modules between FC4- and self compiled kernels, for
> example here is an output of "ls -l" on the e1000 module file:
>
> -rwxr--r--  1 root root 122792 Jul 15 08:15 2.6.12-1.1398_FC4/kernel/drivers/net/e1000/e1000.ko
> -rw-r--r--  1 root root 853861 Oct 17 10:59 2.6.14-rc4-mm1_10/kernel/drivers/net/e1000/e1000.ko
>
> As can easily be seen, the file of the self compiled kernel is 7 times
> the size of the file of the FC4 kernel. Both files are not stripped
[snip]
>
> Does anybody have an idea what might cause this??
>

Are you using the same .config for both kernels (as in take the stock
Fedora kernels .config and use that with  make oldconfig  in your
custom build one) ?

I would guess it's a difference in config options that cause it.

I have no idea how Fedora build their kernels, but there are several
options that can make a size difference - like all the stuff beneath
CONFIG_EMBEDDED , and also some of the kernel hacking options like
CONFIG_DEBUG_INFO for example.


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux