mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: devnetfs <devnetfs@yahoo.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compiling kernel with debug and optimization
Date: Tue, 11 Feb 2003 21:20:56 -0800 (PST)	[thread overview]
Message-ID: <20030212052057.39704.qmail@web20420.mail.yahoo.com> (raw)
In-Reply-To: <20030210192324.GA154@elf.ucw.cz>

--- 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

  reply	other threads:[~2003-02-12  5:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 11:11 devnetfs
2003-02-10 11:32 ` Keith Owens
2003-02-10 16:28   ` devnetfs
2003-02-10 19:23 ` Pavel Machek
2003-02-12  5:20   ` devnetfs [this message]
     [not found] <20030210111151.31800.qmail@web20418.mail.yahoo.com.suse.lists.linux.kernel>
     [not found] ` <20030210192324.GA154@elf.ucw.cz.suse.lists.linux.kernel>
2003-02-11 11:11   ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030212052057.39704.qmail@web20420.mail.yahoo.com \
    --to=devnetfs@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®