This is how I use Valgrind to check for memory bugs in pygit2. Glibc with debug symbols The first issue I run into is that Valgrind refused to work if Glibc was not compiled with debug symbols. This is how I did in my Gentoo notebook, I edited the /etc/make.conf file to enable the splitdebug […]