![]() | |||||||||||||
Messages in this thread |
--- Pavel Machek <pavel@ucw.cz> wrote: > Hi! > > Does compiling with -g option degrade performance? IMO it should > > NOT. > > If that's true, then why dont we compile kernels with both -g and > > -O2 always? > > Build with -g takes *a lot* of diskspace, like 1Gig. > Pavel Agreed. But can't distro's give two SET's of RPMS: 1. kernel-xyz.rpm 2. kernel-xyz-debug.rpm where both 1,2 are same kernels compiled w/ same config and with -g. BUT rpm [1] is a 'strip -g' output of [2]. So people run [1] on their production systems. And developers analyze core-dump from these systems using [2]. Can this be done and will it work? Thanks in advance, Regards, A. ps: Please Cc: me the reply. I am not subscribed to the list. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:33 [from the cache] ©2003-2008 | |||||||||||||