<br><br><div class="gmail_quote">On Wed Dec 03 2014 at 7:18:01 AM Raghavendra <<a href="mailto:arrao@cdac.in">arrao@cdac.in</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday 03 December 2014 09:45 AM, Greg KH wrote:<br>
> On Wed, Dec 03, 2014 at 09:26:34AM +0530, Raghavendra wrote:<br>
>> Hello Greg,<br>
>><br>
>> Thank you for the reply.<br>
>><br>
>> On Tuesday 02 December 2014 11:46 PM, Greg KH wrote:<br>
>>> You have not "stripped" the debug symbols from the kernel you built,<br>
>>> which is what Ubuntu does as part of their build process. I suggest<br>
>>> turning off that kernel configuration option, as it's probably not<br>
>>> needed for your development.<br>
>> If you are referring to the option "CONFIG_DEBUG_INFO", then it is said to<br>
>> 'y' in both the kernel's configuration files.<br>
>> Is there any other config. option or compiler flags that I need to look for?<br>
> That's a good one to turn off, start with that and see what happens.<br>
><br>
Yeah, I turned off the config option and compared the sizes. Now, both<br>
result in the same build size. Thanks for the suggestion Greg. Still, my<br>
concern is that the distro's build is generating a small build size in<br>
spite of having the option 'CONFIG_DEBUG_INFO' set to 'y'. Any thoughts?<br></blockquote><div><br></div><div> Well, the distribution is for sure building the debug info. But later on, they strip out the debug info and creates a 2nd kernel package (and 2nd packages for all modules) with the debug info. Thus, the regular kernel image and modules appears as stripped ones on your system.</div><div><br></div><div>Cheers,</div><div>Anders</div></div>