On Wednesday, June 29, 2011, CHEN Hong lin wrote:
>  Hi,
>  I managed to cross-compile valgrind for linux on ppc (MPC8313), but
> failed to run it. Below is the err info caught by strace.
>   What's wrong with it?  Thanks in advance.
>  BTW, the configure options are like:
> configure  --host=powerpc-unknown-linux --target=powerpc-unknown-linux
> --prefix=/tmp/valgrind-install --build=i486-cross-linux-gnu

Is this an CPU that supports the e500 instruction set extension?
I suspect it is.  Valgrind doesn't support e500 instructions.

But what is strange about this ...

> --- {si_signo=SIGILL, si_code=ILL_ILLOPC, si_addr=0x38033634} (Illegal

.. is that it looks like Valgrind itself SIGILL'd.  The address
0x38033634 is probably inside 
/home/honglinc/local/valgrind/lib/valgrind/memcheck-ppc32-linux
and you should be able to find out what the failing instruction
is and which function it is in, using objdump on that file.

J

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to