|
Alex wrote:Valgrind works fine here in 32 bit mode on Ubuntu/x64 10.04. But
> Okay, so I've installed Linux+Valgrind but I can't compile LuaJIT in 32bit
> mode for it to use the system allocator because Ubuntu doesn't provide the
> debug-symbols-included version of glibc for 32bit programs and Valgrind
> depends on those for redirections.
then I have a populated /usr/lib/debug/lib32/*, which came from
libc6-dbg. Not sure this is the same for all Ubuntu releases.
Yes.
> Do I need to compile LuaJIT to use the system allocator to detect buffer
> overruns?
Yes. But that shouldn't affect your Valgrind run, anyway.
> (Yes I compiled LuaJIT with the valgrind option. Also the GDB JIT stuff
> should work now that I'm on Linux, correct?)
--Mike