Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

67.7. valgrind-3.27.1

Instrumentation framework for memory debugging and profiling

3.27.1-1 · GPL-3.0-or-later · 2.1 SBU · 61.3 MiB, 303 files · 40_lang, 15 of 186 · ports/core/devtools/valgrind

Homepage: https://valgrind.org/

Depends on: gcc, perl, python3.

Required by (3): kcachegrind, massif-visualizer, notmuch.

Sources: valgrind-3.27.1.tar.bz2 (16.6 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install valgrind'

build.sh:

./configure \
	--prefix=/usr \
	--mandir=/usr/share/man \
	CFLAGS="$CFLAGS -g0"
make
make DESTDIR=$PKG install

Programs: callgrind_annotate, callgrind_control, cg_annotate, cg_diff, cg_merge, ms_print, valgrind, valgrind-di-server, valgrind-listener, vgdb, vgstack.

Directories: /usr/include/valgrind, /usr/libexec/valgrind, /usr/share/doc/valgrind, /usr/share/licenses/valgrind.