This is an old revision of the document!


Installing Valgrind

pkg install valgrind will install Valgrind 3.18.1.

pkg install valgrind-devel will install a version of Valgrind that is tracking the upstream git repository, 3.18.0.GIT.

There may be some delay between package builds and the above versions, particularly if you use the quarterly packages'

Building valgrind requires the following ports to be installed:

  • gmake
  • autoconf
  • automake

Starting with Valgrind 3.18.1 FreeBSD support has been integrated into the main Valgrind codebase.

TheValgrindHomePage GettingTheLatestValgrindSource

Prior to 3.18.1 (though still maintained) the source was hosted on on github.

To check out this version of the source

git clone https://github.com/paulfloyd/freebsd_valgrind.git

An older version of Valgrind FreeBSD can be cloned from a mercurial repository on bitbucket.org: https://bitbucket.org/stass/valgrind-freebsd To check out the source: hg clone https://bitbucket.org/stass/valgrind-freebsd

sh autogen.sh
./configure
gmake
gmake install
  1. Signal delivery issue, particularly on i386.
  2. Differences between lld and ld-bfd concerning ELF sections.
  3. A propoer implementation of vgdb-invoker.
  4. Add freeres support to libc.
  5. Much needs to be done for clang OMP.
  6. Fix support for FreeBSD TLS TLS does affect Helgrind and possibly DRD.
  7. Implement rfork.
  • valgrind.1634981300.txt.gz
  • Last modified: 2021/10/23 09:28
  • by PaulFloyd