All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Tim Deegan <tim@xen.org>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>,
	Samuel Thibault <samuel.thibault@ens-lyon.org>,
	Wei Liu <wei.liu2@citrix.com>,
	David Scott <dave.scott@eu.citrix.com>
Subject: Re: [PATCH v3] Separate runtime debug output from debug symbols
Date: Mon, 13 Oct 2014 13:42:04 +0200	[thread overview]
Message-ID: <20141013114204.GA26047@aepfle.de> (raw)
In-Reply-To: <21557.24983.788375.204936@mariner.uk.xensource.com>

On Wed, Oct 08, Ian Jackson wrote:

> Olaf Hering writes ("Re: [PATCH v3] Separate runtime debug output from debug symbols"):
> > On Wed, Oct 08, Ian Jackson wrote:
> > > I do object to a change to the default, which AFAICT is what happens
> > > in your patch.
> > 
> > How does it change the default? Confik.mk has:
> 
> Sorry, I wasn't clear.  I mean that -g should remain the default even
> in debug=n builds of Xen.
> 
> >  19 # A debug build of Xen and tools?
> >  20 debug ?= y
> >  21 debug_symbols ?= $(debug)
> > 
> > Which means its always on.
> 
> If debug=n, -g is turned off.  The user might do that.  Also we
> routinely set debug=n during the last stages of the release process.

So how do we proceed here?

v3 of the patch is fine. It removes the hardcoded -g from more places.
The result is more free diskspace if one requests to compile the source
without -g. The default remains the same. 
If one does configure --disable-debug he may have a reason to do so.
Still "make debug_symbols=y" will build the whole thing with -g.

What the default for both knobs should be and how the default is
supposed to be set is a separate discussion not belonging to this.


Olaf

      parent reply	other threads:[~2014-10-13 11:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 14:51 [PATCH v3] Separate runtime debug output from debug symbols Olaf Hering
2014-10-08 15:16 ` Ian Jackson
2014-10-08 15:32   ` Olaf Hering
2014-10-08 15:36     ` Ian Jackson
2014-10-08 15:39       ` Ian Jackson
2014-10-08 16:00         ` Olaf Hering
2014-10-08 16:08           ` Ian Jackson
2014-10-08 16:21             ` Olaf Hering
2014-10-13 11:42             ` Olaf Hering [this message]

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=20141013114204.GA26047@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=dave.scott@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.