From owner-freebsd-current@FreeBSD.ORG Wed Apr 14 09:52:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2C0B16A4CE; Wed, 14 Apr 2004 09:52:55 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E04D43D5C; Wed, 14 Apr 2004 09:52:55 -0700 (PDT) (envelope-from j.p.h@comcast.net) Received: from comcast.net (c-24-1-98-54.client.comcast.net[24.1.98.54]) by comcast.net (rwcrmhc11) with SMTP id <2004041416525401300fmd7qe> (Authid: j.p.h); Wed, 14 Apr 2004 16:52:55 +0000 Message-ID: <407D6C66.40603@comcast.net> Date: Wed, 14 Apr 2004 11:52:54 -0500 From: Joe Halpin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Rabson References: <200404091207.10055.dfr@nlsystems.com> In-Reply-To: <200404091207.10055.dfr@nlsystems.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 15 Apr 2004 05:13:22 -0700 cc: freebsd-current@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Valgrind for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 16:52:55 -0000 Doug Rabson wrote: > As some of you might be aware, recently I've been working on porting the > excellent valgrind debugger to FreeBSD (both -stable and -current). If > you are interested in trying it out, you can find details on how to get > the latest version at http://www.rabson.org/#valgrind. Enjoy... I'm a little confused at some of the results I see. I'm trying to use valgrind as part of the daily build tests for the curl project. The tests work fine on linux, but with the FreeBSD version of valgrind I get this fbsd$ valgrind --leak-check=yes --logfile-fd=3 src/curl/usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/valgrind/vg_inject.so" fbsd$ ls -l /usr/local/lib/valgrind/vg_inject.so -rwxr-xr-x 1 root wheel 38445 Apr 12 09:26 /usr/local/lib/valgrind/vg_inject.so* fbsd$ file /usr/local/lib/valgrind/vg_inject.so /usr/local/lib/valgrind/vg_inject.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped However, it seems to work ok if I don't use --logfile-fd=3. Unfortunatly I don't have the time or the expertise to go through the code at the moment, so I'm hoping this might suggest something to you. Thanks Joe