On Tue, 2014-08-19 at 14:23 +0200, Jan Včelák wrote: > Compile the server. We hit the problem with the following configuration: > > $ autoreconf -fi > $ export CC=gcc > $ export CFLAGS="-O0 -g -j4" > $ ./configure --enable-recvmmsg=no \ > --enable-lto=no \ > --disable-fastparser \ > --disable-shared \ > --enable-static If you link with a static malloc library, you have to use --soname-synonyms=somalloc=NONE to have the malloc/free interceptions needed for memcheck, helgrind, drd, ... to work properly.
Note also that these tools have a very limited functionality and/or might not work properly if your application is completely statically linked. So ldd on your program should much better show at least one shared lib. Philippe ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users