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

Bug#257822: kernel-source-2.6.7: building with debugging symbols results in an initrd image that can't be loaded



close 257822
thanks

> With CONFIG_DEBUG_INFO=y I get an initrd approximately 10x as large as
> without, and the kernel won't use it. Full kernel messages to point
> should follow soon.
> 
> 43428   initrd.img-2.6.7-debug
> 4688    initrd.img-2.6.7-nodebug

Don't do that, then.  The help text for CONFIG_DEBUG_INFO says:

"If you say Y here the resulting kernel image will include
 debugging info resulting in a larger kernel image.
 Say Y here only if you plan to use gdb to debug the kernel.
 If you don't debug the kernel, you can say N."

The increase is much larger with DWARF2 as used by recent GCCs, but for
that complain to the gcc folks.




Reply to: