config-2.6.22-14-generic: CONFIG_DEBUG_INFO=y, really?

Daniel T Chen crimsun at
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

Daniel T Chen <crimsun at>
-------------- 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: <>

More information about the ubuntu-users mailing list