Hello, > What happens if you compile without "-static"? Valgrind wants to replace > system libraries with its own versions so that it can trace memory > allocation and release. It does so at runtime, so static linking is not > good for it.
If I compile program without "-static" gcc -gdwarf-2 -O0 main.c -lpthread && valgrind --tool=helgrind --read-var-info=yes ./a.out I get the same error :(. (I have valgrind 3.1.0) Thanks, John (i forgot send copy to the mailing list) ------------------------------------------------------------------------------ Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users