Skip to content

Commit 819c45b

Browse files
authored
Merge pull request #40723 from thofma/patch-1
Documentation: Rebuild sysimage/julia with generic target for use with valgrind
2 parents bf5ac8c + de0d6d8 commit 819c45b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/src/devdocs/valgrind.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Another thing to note: if your program uses multiple workers processes, it is li
2424
want all such worker processes to run under Valgrind, not just the parent process. To do this,
2525
pass `--trace-children=yes` to `valgrind`.
2626

27+
Yet another thing to note: if using `valgrind` errors with `Unable to find compatible target in system image`,
28+
try rebuilding the sysimage with target `generic` or julia with `JULIA_CPU_TARGET=generic`.
29+
2730
## Suppressions
2831

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

0 commit comments

Comments
 (0)