All of lore.kernel.org
 help / color / mirror / Atom feed
* Huge difference in build sizes
@ 2014-12-02  9:08 Raghavendra
  2014-12-02 11:51 ` Vinícius Tinti
  2014-12-02 18:16 ` Greg KH
  0 siblings, 2 replies; 10+ messages in thread
From: Raghavendra @ 2014-12-02  9:08 UTC (permalink / raw)
  To: kernelnewbies

Hello all,

I am using Ubuntu-12.04 which came with 3.2 kernel. Parallel to this, 
I've compiled and installed 3.12.1 kernel using the Ubuntu-3.2's 
configuration, and the compiler which came with the distro. I've noticed 
that there is a huge difference in the size of the .ko file between the 
Ubuntu's kernel and the kernel which I've compiled. Sample results are :

$ du -sh usb-storage.ko
It shows : 56K for the Ubuntu's 3.2 kernel
                 1.3M for the custom kernel that I've compiled

I've tested the same thing for a simple hello world module :
$ du -sh hello.ko
It shows : 4.0k for the Ubuntu's 3.2 kernel
                 56k for the custom kernel that I've compiled

What could be the reason for this huge amount of difference of storage 
space in spite of using the same config file and compiler?

Thanks in advance.

Raghavendra

-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-03  6:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02  9:08 Huge difference in build sizes Raghavendra
2014-12-02 11:51 ` Vinícius Tinti
2014-12-02 12:37   ` Raghavendra
2014-12-02 12:50     ` Vinícius Tinti
2014-12-02 12:51       ` Vinícius Tinti
2014-12-02 18:16 ` Greg KH
2014-12-03  3:56   ` Raghavendra
2014-12-03  4:15     ` Greg KH
2014-12-03  6:05       ` Raghavendra
2014-12-03  6:51         ` Anders Darander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.