Hi, I'm trying to run Valgrind on PowerPC (mpc885) but I have some
problems. 

When I start valgrind I received this message:

[  741.302816] Bad emulation memcheck-ppc32-/987
[  741.302925]  NIP: 38030e28 instruction: 10000484 opcode: 4 A: 0 B: 0
C: 12 code: 242 rc: 0
[  741.310302]  pte @ 0x38030e28:
(0xc39b1380)->(0xc39630c0)->0x02efe889
[  741.310302]  RPN: 02efe PP: 2 SPS: 1 SH: 0 CI: 0 v: 1
[  741.310302] Kernel VA for NIP c2efee28  pte @ 0xc2efee28: no pmd

These are the steps for compile it:

svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH
. /usr/local/angstrom/powerpc/environment-setup
./autogen.sh
./configure --prefix=/home/alessandro/Siemens/Valgrind/ppc_install
--host=powerpc-angstrom-linux --enable-only32bit --disable-tls

Modify the line:
in m_transtab.c
        vg_assert(cls == 16 || cls == 32 || cls == 64 || cls == 128);
in m_machine.c
        vg_assert(szB == 16 || szB == 32 || szB == 64 || szB == 128);
in guest_ppc_toIR.c
        vassert(lineszB == 16  || lineszB == 32 || lineszB == 64 || lineszB ==
128);


make
make install

I have also try to run a program but no memory leak was found (there
were instead).

Some Help ??


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to