[zeromq-dev] ZMQ_MAKE_VALGRIND_HAPPY
Martin Lucina
mato at kotelna.sk
Tue Apr 26 17:52:05 CEST 2011
ph at imatix.com said:
> On Fri, Apr 22, 2011 at 8:38 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
> > Aha. I thought it's possible to install the suppression file along the
> > library so that valgrind can automatically take it into account, but that
> > doesn't seem to be the case. Sorry for confusion.
>
> It does seem to be possible: "When valgrind runs its default tool,
> Memcheck, it automatically tries to read a file called
> $PREFIX/lib/valgrind/default.supp ($PREFIX will normally be /usr)"
>
> From http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto.
>
> Not sure if we want to install our file as the default for Valgrind, however.
Definitely not; at least on Debian default.supp is supplied by the valgrind
package.
The best we can do is provide a supression file as part of the libzmq
distributable, and clearly document it's existence in the FAQ/other
documentation.
-mato
More information about the zeromq-dev
mailing list