Valgrind errors when linked with -static — Why?
Does valgrind just not work with -static? It does. The problem is not in Valgrind, it’s in glibc, which is not Valgrind clean. The glibc developers refused to fix these problems (because the problems are of a “don’t care” nature, and fixing them costs (a few) cycles). When you link dynamically, these errors come from … Read more