|
From: Lev I. <lis...@ci...> - 2005-11-09 23:49:55
|
Hi all, I've cross compiled valgrind-3.0.1 building on a 686-linux on to a PPC embedded linux (running the IBM PPC 405 chip) The compilation went fine, but I had to disable TLS because it wanted to run a compiled program during 'configure', and modify the VEX/Makefile to compile the genoffsets program using the local compiler. After all this, valgrind runs on the target, but any binary I run, I get : $ ./valgrind ls ==22261== Memcheck, a memory error detector. ==22261== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==22261== Using LibVEX rev 1367, a library for dynamic binary translation. ==22261== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==22261== Using valgrind-3.0.1, a dynamic binary instrumentation framework. ==22261== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==22261== For more details, rerun with: -v ==22261== ==22261== ==22261== Process terminating with default action of signal 4 (SIGILL) ==22261== at 0x1188059C: _start (../sysdeps/powerpc/dl-start.S:33) ==22261== ==22261== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==22261== malloc/free: in use at exit: 0 bytes in 0 blocks. ==22261== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==22261== For counts of detected errors, rerun with: -v ==22261== No malloc'd blocks -- no leaks are possible. Illegal instruction Is the 405 supported? Does anyone know what debugging I can enable to figure out what's going on? Thanks, Lev |
|
From: Tom H. <to...@co...> - 2005-11-10 00:12:57
|
In message <437...@ci...>
Lev Iserovich <lis...@ci...> wrote:
> I've cross compiled valgrind-3.0.1 building on a 686-linux on to a PPC
> embedded linux (running the IBM PPC 405 chip)
> The compilation went fine, but I had to disable TLS because it wanted to
> run a compiled program during 'configure',
> and modify the VEX/Makefile to compile the genoffsets program using the
> local compiler.
What processor did it say it was selecting at configure time? I have
a nasty feeling it may have built a valgrind that runs on ppc but
wants to run x86 code...
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|