From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 4 14:48:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A0491065673 for ; Wed, 4 Jun 2008 14:48:16 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3687F8FC26 for ; Wed, 4 Jun 2008 14:48:16 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=OAyKE/2bmuXv3L/Yi2EZD9j3fRqR8Dvk+P7mZOSVhEoMQiCCCXjudaaAl6QK6Gd7E4yOjExk0lQEDTneMdrn/gWMi/iFqk+LYv2T3M1A3mzBBt80GM4otQyPhYurUFb1Xq8o1ffcnJOOkKkSka1yn9YkUMy/HTYEs5ckcU/h0m0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1K3uHf-000KvW-4y; Wed, 04 Jun 2008 18:48:15 +0400 Date: Wed, 4 Jun 2008 18:48:14 +0400 From: Eygene Ryabinkin To: Chuck Robey Message-ID: References: <4845AC84.6040407@telenix.org> <4846A77B.9060603@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4846A77B.9060603@telenix.org> Sender: rea-fbsd@codelabs.ru Cc: FreeBSD-Hackers Subject: Re: Re: git problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 14:48:16 -0000 Chuck, Wed, Jun 04, 2008 at 10:32:27AM -0400, Chuck Robey wrote: > > Any possibility of using ElectricFence (devel/ElectricFence) > > for chasing memory-related troubles? > > Now that I have gdb working with me again, I am checking the git-fetch image to > see where it got lost. If I must bring a tool such as ElectricFence I, I guess > I must, just I'm a bit irritated that the git build has one of those make > "improvements" (NOT) that instead of telling you the buid line, just gives you > "CC sourcename.c" which for anyone who knows code is just irritating, not any > sort of help at all. No problems, just issue 'make V=1' instead of just 'make' in the /devel/git -- it will give you all flags and will eliminate the fancies. And 'make V=1 CFLAGS="-O0 -g"' will produce unoptimized binary with debug symbols that can be directly traced by gdb with all symbols and right (unoptimized, as in the sources) code paths. For the ElectricFence -- it dumps core just after startup, I don't know why. So it is not very much usable now, at least for me. Thank you. -- Eygene