Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| valgrind [2021/11/12 11:31] – TODO item 1 (mostly) fixed, add link to freeres request PaulFloyd | valgrind [2023/02/25 07:56] (current) – PaulFloyd | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installing | + | ===== Valgrind ===== |
| - | ===== Installing from ports ===== | + | The recommended installation method is %%FreeBSD%% Ports & Packages. |
| - | //pkg install valgrind// will install Valgrind 3.18.1. | + | ===== Installation ===== |
| - | //pkg install valgrind-devel// | + | Note: There may be some differences or delays between binary package versions and port versions, depending on whether you use [[QuarterlyBranch|Quarterly]] or Latest package branch. |
| - | **There may be some delay between package builds and the above versions, particularly if you use the quarterly packages**' | + | ==== Stable Version ==== |
| - | ===== Prerequisites ===== | + | The '' |
| - | Building | + | |
| - | * gmake | + | |
| - | * autoconf | + | |
| - | * automake | + | |
| - | ===== Obtaining the Valgrind source ===== | + | Install using either: |
| - | Starting with Valgrind 3.18.1 | + | * Ports: '' |
| + | * Packages: '' | ||
| - | [[https:// | + | ==== Development Version ==== |
| - | [[https://valgrind.org/ | + | The '' |
| - | Prior to 3.18.1 (though still maintained) the source was hosted on on github. | + | Install using either: |
| - | To check out this version | + | * Ports: '' |
| + | * Packages: '' | ||
| + | |||
| + | ===== Building from Source ===== | ||
| + | |||
| + | ==== Pre-Requisites ==== | ||
| + | |||
| + | Building valgrind requires the following ports to be installed: | ||
| + | |||
| + | * devel/ | ||
| + | * devel/ | ||
| + | * devel/ | ||
| + | |||
| + | ==== Obtaining the Valgrind Source ==== | ||
| + | |||
| + | Starting with Valgrind 3.18.1 %%FreeBSD%% support has been integrated into the main Valgrind codebase. Prior to 3.18.1 (though still maintained) the source was hosted on on GitHub | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | To check out pre-3.18.1 versions | ||
| < | < | ||
| Line 31: | Line 48: | ||
| </ | </ | ||
| - | An older version | + | The mercurial bitbucket repo that was the basis of the %%FreeBSD%% |
| - | To check out the source: | + | |
| - | '' | + | |
| - | ===== Building | + | ==== Building ==== |
| < | < | ||
| Line 46: | Line 61: | ||
| ===== TODO ===== | ===== TODO ===== | ||
| - | - Signal delivery issue, particularly on i386 [fixed in the sourceware repo, not yet in ports] | + | - Implement a %%FreeBSD%% |
| - | - Differences between lld and ld-bfd concerning ELF sections. | + | |
| - | - A proper implementation of vgdb-invoker. | + | |
| - | - Add freeres support to libc [[https:// | + | |
| - | - Much needs to be done for clang OMP. | + | |
| - | - Fix support for %%FreeBSD%% | + | |
| - | * http:// | + | |
| - | * http://lwn.net/ | + | |
| - Implement rfork. | - Implement rfork. | ||
| + | * See https:// | ||
| + | - Improve vgdb-invoker. | ||
| + | - Implement some form of lldb-server. | ||
| + | - Improve core dumps. Currently they are just Linux style core dumps with a %%FreeBSD%% tag. | ||
| + | - Add freeres support to libc [[https:// | ||
| + | - Much needs to be done for Clang OMP. | ||
| + | - Fix handling of thread TLS allocation for Helgrind. | ||
| + | * See: https:// | ||
| ===== Links ===== | ===== Links ===== | ||
| - | | + | |
| - | * [[http:// | + | |
| + | * [[https:// | ||