public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dennis Lan (dlan)" <dennis.yxun@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Introduce global dmalloc USE flag?
Date: Sat, 22 Jun 2013 15:48:52 +0800	[thread overview]
Message-ID: <CAF1ZMEebZ3wwq+FgFAD-YT3eC9XWD=J+_MoHpKwD40OuP02s4g@mail.gmail.com> (raw)
In-Reply-To: <51C34B21.2040504@gentoo.org>

On Fri, Jun 21, 2013 at 2:34 AM, Ian Stakenvicius <axs@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 13/06/13 01:05 AM, Michał Górny wrote:
>> Dnia 2013-06-13, o godz. 09:35:54 "Dennis Lan (dlan)"
>> <dennis.yxun@gmail.com> napisał(a):
>>
>>> also 4) app-admin/conserver 5) net-nds/ypbind 6) net-fs/samba 7)
>>> net-analyzer/scli 8) net-analyzer/traceproto 6) net-misc/siproxd
>>>
>>> use dmalloc but controlled under USE=debug
>>
>> Do those use USE=debug solely for dmalloc or does it imply other
>> stuff? Therefore: will it be possible to use USE=dmalloc in those
>> packages?

HI mgorny, as I look into those ebuilds
all of them use the USE=debug flag for dmalloc only, not for other
debugging control
so, as your second question, of course it's possible to switch to USE=dmalloc

>>
>
> and to follow up, if we assume that USE="debug" does more than just
> build the package against the dmalloc lib (which is likely), is there

Yes, if this case exist.. then the separation would be good


> any particular benefit to USE="debug -dmalloc" ?  Or USE="dmalloc
> - -debug" ?
>

I'm not sure, probably the befefits would be that we can have more
accurate/explicit control,
USE="dmalloc" is for debugging memory usage stuff (allocation, free,
fence-post overwritten control)
and USE=debug for other stuff?

This is a slightly improvement, but I'm also totally fine to keep
current state as it is.. no big deal

>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
>
> iF4EAREIAAYFAlHDSyEACgkQ2ugaI38ACPAHUwEAqFFDyarLSE8I/k8eKBUibmxu
> qZT2pnaaMj3nPEqrFxYBAIsIP8HAHR5mIaLBHKPiR6/oI/cxcu3h1XFodpbERO4t
> =T2KX
> -----END PGP SIGNATURE-----
>


  reply	other threads:[~2013-06-22  7:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13  1:35 [gentoo-dev] Introduce global dmalloc USE flag? Dennis Lan (dlan)
2013-06-13  2:00 ` Kent Fredric
2013-06-13  5:05 ` Michał Górny
2013-06-20 18:34   ` Ian Stakenvicius
2013-06-22  7:48     ` Dennis Lan (dlan) [this message]
2013-06-24  8:54       ` Gilles Dartiguelongue
2013-06-24  9:05         ` Samuli Suominen
2013-06-24 10:37           ` Gilles Dartiguelongue
2013-06-24 10:47             ` Diego Elio Pettenò

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='CAF1ZMEebZ3wwq+FgFAD-YT3eC9XWD=J+_MoHpKwD40OuP02s4g@mail.gmail.com' \
    --to=dennis.yxun@gmail.com \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox