[PATCH] Fix various bugs discovered by valgrind

Roland McGrath roland@redhat.com
Wed Aug 4 21:12:00 GMT 2004


> I have modified Makeconfig after doing make (but before make check) to:
> run-program-prefix = $(if $(filter $(notdir $(built-program-file)),\
>                                    $(tests-static)),, \
>                           valgrind --tool=memcheck)

Do valgrind's LD_PRELOAD modules not work when running ld.so directly?
Why not just prefix the usual $(rtld-installed-name) hooey with valgrind?



More information about the Libc-hacker mailing list