From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A29891381F3 for ; Mon, 24 Jun 2013 08:54:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B290EE0919; Mon, 24 Jun 2013 08:54:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE25BE07FD for ; Mon, 24 Jun 2013 08:54:06 +0000 (UTC) Received: from [217.70.181.52] (gilles.gandi.net [217.70.181.52]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eva) by smtp.gentoo.org (Postfix) with ESMTPSA id 7878933E1C2 for ; Mon, 24 Jun 2013 08:54:05 +0000 (UTC) Message-ID: <1372064040.19250.3.camel@gilles.gandi.net> Subject: Re: [gentoo-dev] Introduce global dmalloc USE flag? From: Gilles Dartiguelongue To: gentoo-dev@lists.gentoo.org Date: Mon, 24 Jun 2013 10:54:00 +0200 In-Reply-To: References: <20130613070520.5e919998@gentoo.org> <51C34B21.2040504@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 8e2fbaee-9e13-4e80-8128-4a5bff7ca619 X-Archives-Hash: c9f9eec7a6ec80da2b45c7083674e2f6 Le samedi 22 juin 2013 à 15:48 +0800, Dennis Lan (dlan) a écrit : > On Fri, Jun 21, 2013 at 2:34 AM, Ian Stakenvicius 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)" > >> 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 Reading this thread, looks to me like these dmalloc USE should be moved to debug, unless it has no runtime impact on usual speed, etc. -- Gilles Dartiguelongue Gentoo