From: Nicholas N. <nj...@ca...> - 2003-06-17 15:56:04
|
On Tue, 17 Jun 2003, Sarcar, Shourya C (MED) wrote: > When I run Valgrind with any program (ls, ps, even my own HEllo , > World), Valgrind displays messages. > But when I run this with a particular program (I call it 've'), the > program executes but Valgrind prints out no messages at all. > The only outputs are the printfs from the executable (ve). > > I have tried running with the -v option but to no avail. From valgrind/FAQ.txt: Q5. I try running "valgrind my_program", but my_program runs normally, and Valgrind doesn't emit any output at all. A5. Is my_program statically linked? Valgrind doesn't work with statically linked binaries. my_program must rely on at least one shared object. To determine if a my_program is statically linked, run: ldd my_program It will show what shared objects my_program relies on, or say: not a dynamic executable if my_program is statically linked. N |