Skip to content

Commit

Permalink
Document rebuilding sysimage/julia with generic target for valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored and LilithHafner committed Mar 8, 2022
1 parent 3875ceb commit f026248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/src/devdocs/valgrind.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Another thing to note: if your program uses multiple workers processes, it is li
want all such worker processes to run under Valgrind, not just the parent process. To do this,
pass `--trace-children=yes` to `valgrind`.

Yet another thing to note: if using `valgrind` errors with `Unable to find compatible target in system image`,
try rebuilding the sysimage with target `generic` or julia with `JULIA_CPU_TARGET=generic`.

## Suppressions

Valgrind will typically display spurious warnings as it runs. To reduce the number of such warnings,
Expand Down

0 comments on commit f026248

Please sign in to comment.