On Mon, Dec 09, 2019 at 05:53:36AM -0500, Ed Maste wrote: > 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. So, I had a look, and the makefile should actually autodetect no valgrind. What I suspect is happening here is that the valgrind dev stuff is installed - so pkg-config --exists is reporting true - but the header is not in the location we expect. What we want is to get the output of "pkg-config --cflags valgrind" on the sewtup in question. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature