From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2758 invoked by alias); 12 Jun 2012 07:42:57 -0000 Received: (qmail 2748 invoked by uid 22791); 12 Jun 2012 07:42:56 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_BM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jun 2012 07:42:33 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5C7gKFJ013616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 12 Jun 2012 03:42:20 -0400 Received: from host2.jankratochvil.net (ovpn-116-33.ams2.redhat.com [10.36.116.33]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q5C7gGoQ007194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 12 Jun 2012 03:42:19 -0400 Date: Tue, 12 Jun 2012 07:42:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Add support for --enable-lmcheck configure option. Message-ID: <20120612074215.GB4374@host2.jankratochvil.net> References: <1339447127-314-1-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339447127-314-1-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00324.txt.bz2 Hi Joel, On Mon, 11 Jun 2012 22:38:47 +0200, Joel Brobecker wrote: > This allows the user to enable this option at configure time if building > a release, [...] > It might be useful > later on, when debugging memory problems on a release version of GDB. this is bloating the configure script + configure help. Just use: LDFLAGS=-lmcheck ./configure ... > I don't think I'll personally use the --disable-libmcheck on a snapshot, > but someone distributing a snaphot version might enjoy it too. Yes: http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob_plain;f=gdb-disable-mcheck.patch;hb=master But I do not find it so important to make a configure option to it. > OK? Given that --disable-libmcheck for snapshot may make some sense I do not oppose it but I do not think it is worth it, it is a corner case where one can edit configure or Makefile IMO. I understand the reason is to workaround current GDB bugs exposed by -lmcheck. This is sure not the right solution. Regards, Jan