Comment 3 for bug 881236

Revision history for this message
Ryan C. Gordon (icculus) wrote : Re: valgrind on amd64 no longer works with 32-bit binaries

> Works for me with 1:3.6.1-6ubuntu1 from Ubuntu precise:
> gcc -m64 -o hello hello.c

Yes, that would work, as you tested a 64-bit binary. The problem is that valgrind doesn't work with 32-bit binaries on a 64-bit system. Use -m32 instead of -m64 and see if it changes anything.

(You'll need to apt-get install multilib-gcc for -m32 to work, and maybe ia32-libs, too.)

--ryan.