Date: Thu, 18 Jun 2009 16:43:50 +0200 From: Attilio Rao <attilio@freebsd.org> To: yuri@rawbw.com Cc: d@delphij.net, peter@freebsd.org, freebsd-hackers@freebsd.org, Simon Barner <barner@freebsd.org>, Heiko Wundram <modelnine@modelnine.org>, Ed Maste <emaste@sandvine.com> Subject: Re: valgrind on FreeBSD 7 Message-ID: <3bbf2fe10906180743pc9bd84bu420db38275fe3888@mail.gmail.com> In-Reply-To: <48E474C7.8050507@rawbw.com> References: <200803172156.37407.modelnine@modelnine.org> <20080317214510.G89676@odysseus.silby.com> <20080413103351.GA1382@dose.local.invalid> <4803C3B4.4000405@delphij.net> <48E474C7.8050507@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/10/2 Yuri <yuri@rawbw.com>: > Xin LI wrote: >> >> Simon Barner wrote: >>> >>> Mike Silbersack wrote: >>>> >>>> On Mon, 17 Mar 2008, Heiko Wundram wrote: >>>> >>>> Here's a tarball of what's in perforce right now. I tried it a little >>>> bit, and it seemed to work for me. Make sure to install the kernel module! >>>> >>>> http://www.silby.com/valgrind_freebsd_3.tar.gz >>>> >>>> But don't send me questions about it - I'm not an expert on it, I'm just >>>> the guy who grabbed it from perforce and found that it seems to work. :) >>> >>> Could you please provide me with the details, so I can update my >>> (horribly outdated :( valgrind ports? >> >> It was available from p4 at: >> >> //depot/projects/valgrind/... >> >> Note that this version does not work on architectures other than i386. >> >> Cheers, > > > Any developments in Valgrind/Callgrind on FreeBSD? > Any hope to get this version into ports and to merge FreeBSD support up into > Valgrind project? For our employer (Sandvine incorporated) Ed Maste and me are working on finishing the port Peter Wemm started a while ago. You can find updated informations on the project here: http://wiki.freebsd.org/Valgrind while you can get the sources pack here: http://people.freebsd.org/~attilio/Sandvine/valgrind/valgrind.tar.bz2 Please note that 8 and 7 now have all the required support to let run this modified version, so no further modify is required to these branches. Valgrind is able to run on 6 too, if the patch system_valgrind.diff is applied (I can't recall if it targeted for SVOS, as I think, or it is stock STABLE_6, just try it, it may apply to both). The port is really not clean, but that's not Peter's fault. Valgrind should be really rewritten in order to be less Linux-centric and be more smart about interface sucking. The effort, though, would be so large that would require too much work to happen in the short term. What is in the tar works mostly ok (modulo missing syscalls) on both ia32 and amd64, but you should carefully follow what is written in the Wiki for a good install of the product. Also note that I have an internal version that should fix most (all?) the issues reported in the Wiki and I will try to release it on a regular basis, until possible. So far, I'm fighting with a segfault in the profiled process while running with SV environment {amd64 arch}, a symptomancy that doesn't show with a stock FreeBSD installation so far. If you could try the port and report to us I would appreciate a lot. For any other question please refer to us. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10906180743pc9bd84bu420db38275fe3888>