On Wed, 4 Dec 2019 at 17:38, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> wrote: > > Huh. That's weird. You've made sure this is set on *all* the gmake > invocations? If you've already built things with NO_VALGRIND=0 they > won't get rebuilt. Yep, I get: % gmake clean ... % gmake NO_VALGRIND=1 ... % gmake NO_VALGRIND=1 check CHK version_gen.h CC tests/get_mem_rsv.o gmake: *** No rule to make target 'valgrind/memcheck.h', needed by 'tests/testutils.o'. Stop. and the same thing with it set in the environment.