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

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

 



On Tue, 2005-10-18 at 09:18 +0200, Sven Schuster wrote:
> Hi Adrian, hi Fawad,
> 
> On Tue, Oct 18, 2005 at 03:04:14AM +0200, Adrian Bunk told us:
> > On Tue, Oct 18, 2005 at 05:27:02AM +0500, Fawad Lateef wrote:
> > > 
> > > Have you tried to compile the stock kernel provided with the FC4
> > > Distribution ?? Is the size remains same ??? Because most of the
> > > Debugging Symbols are already activated (Y), and the size Sven
> > > mentioned 7-times bigger I don't think its just due to debugging
> > > symbols !!! the debugging symbols just adds some printks and some
> > > debugging code not that much code ... So plzz first try to compile the
> > > FC4 kernel with the distribution ..... and watch for the size
> > > difference .....
> >
> > CONFIG_DEBUG_INFO adds -g to the CFLAGS, and therefore a factor of 7 in 
> > the code size is not a big surprise.
> 
> yes might be but in the FC4 kernels CONFIG_DEBUG_INFO is enabled, too,
> and its modules aren't that big...I'm currently rebuilding a FC4 kernel
> SRPM, I'll come back later when the build is finished :-)

that is because RPM strips the debuginfo out to separate files, which
are packaged separately into a kernel-debuginfo rpm.



--
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