Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   config-2.6.22-14-generic: CONFIG_DEBUG_INFO=y, really? (http://www.linux-archive.org/ubuntu-user/30490-config-2-6-22-14-generic-config_debug_info-y-really.html)

Daniel T Chen 01-06-2008 10:10 PM

config-2.6.22-14-generic: CONFIG_DEBUG_INFO=y, really?
 
On Mon, 2007-12-31 at 03:44 +0000, David Abrahams wrote:
> My /boot/config-2.6.22-14-generic shows CONFIG_DEBUG_INFO=y, meaning the kernel
> is compiled with debug symbols. But when I try to rebuild the gutsy kernel
> myself it comes out about seven times bigger than the ones packaged with the
> distro. Is it really possible that Gutsy's kernels are all built with debug
> info enabled?


Yes, it is the case. Before the non-debug linux-image debs are
generated, the symbols are stripped. See here[0], specifically:

...
find /build/buildd/linux-source-2.6.22-2.6.22/debian/linux-image-2.6.22-14-386/ -name *.ko -print | xargs strip --strip-debug
...

[0]
http://launchpadlibrarian.net/10002352/buildlog_ubuntu-gutsy-i386.linux-source-2.6.22_2.6.22-14.46_FULLYBUILT.txt.gz
--
Daniel T Chen <crimsun@fungus.sh.nu>
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 08:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.