config-2.6.22-14-generic: CONFIG_DEBUG_INFO=y, really?
Daniel T Chen
crimsun at fungus.sh.nu
Sun Jan 6 23:10:04 UTC 2008
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 at fungus.sh.nu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080106/d07a44f8/attachment.sig>
More information about the ubuntu-users
mailing list