Gentoo Archives: gentoo-dev

From: "Dennis Lan (dlan)" <dennis.yxun@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Introduce global dmalloc USE flag?
Date: Sat, 22 Jun 2013 07:48:58
Message-Id: CAF1ZMEebZ3wwq+FgFAD-YT3eC9XWD=J+_MoHpKwD40OuP02s4g@mail.gmail.com
In Reply to: Re: [gentoo-dev] Introduce global dmalloc USE flag? by Ian Stakenvicius
1 On Fri, Jun 21, 2013 at 2:34 AM, Ian Stakenvicius <axs@g.o> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA256
4 >
5 > On 13/06/13 01:05 AM, Michał Górny wrote:
6 >> Dnia 2013-06-13, o godz. 09:35:54 "Dennis Lan (dlan)"
7 >> <dennis.yxun@×××××.com> napisał(a):
8 >>
9 >>> also 4) app-admin/conserver 5) net-nds/ypbind 6) net-fs/samba 7)
10 >>> net-analyzer/scli 8) net-analyzer/traceproto 6) net-misc/siproxd
11 >>>
12 >>> use dmalloc but controlled under USE=debug
13 >>
14 >> Do those use USE=debug solely for dmalloc or does it imply other
15 >> stuff? Therefore: will it be possible to use USE=dmalloc in those
16 >> packages?
17
18 HI mgorny, as I look into those ebuilds
19 all of them use the USE=debug flag for dmalloc only, not for other
20 debugging control
21 so, as your second question, of course it's possible to switch to USE=dmalloc
22
23 >>
24 >
25 > and to follow up, if we assume that USE="debug" does more than just
26 > build the package against the dmalloc lib (which is likely), is there
27
28 Yes, if this case exist.. then the separation would be good
29
30
31 > any particular benefit to USE="debug -dmalloc" ? Or USE="dmalloc
32 > - -debug" ?
33 >
34
35 I'm not sure, probably the befefits would be that we can have more
36 accurate/explicit control,
37 USE="dmalloc" is for debugging memory usage stuff (allocation, free,
38 fence-post overwritten control)
39 and USE=debug for other stuff?
40
41 This is a slightly improvement, but I'm also totally fine to keep
42 current state as it is.. no big deal
43
44 >
45 > -----BEGIN PGP SIGNATURE-----
46 > Version: GnuPG v2.0.19 (GNU/Linux)
47 >
48 > iF4EAREIAAYFAlHDSyEACgkQ2ugaI38ACPAHUwEAqFFDyarLSE8I/k8eKBUibmxu
49 > qZT2pnaaMj3nPEqrFxYBAIsIP8HAHR5mIaLBHKPiR6/oI/cxcu3h1XFodpbERO4t
50 > =T2KX
51 > -----END PGP SIGNATURE-----
52 >

Replies

Subject Author
Re: [gentoo-dev] Introduce global dmalloc USE flag? Gilles Dartiguelongue <eva@g.o>