|
From: Hiren G. <hir...@ya...> - 2008-10-06 12:16:18
|
Hi All,
I have cross-compiled Valgrind 3.3.1 to run on MontaVista Linux 2.6.10 on CPU e500. However, when I try to run valgrind, I got the error as mentioned in the attached Valgrind-3.3.1_output.txt file. I have used build system as RHEL 4 (Kernel 2.6.10) with gcc 3.3.1
Could anyone please help me out with this?
Before arriving on this error, I had issue with isel instruction and which was solved by the description (plus the code given) for the BUG ID: 160954 and for which I have put the fix in guest-ppc/toIR.c file. I was wondering if the fix was fine, why it didn't get into the SVN?
CPU INFO
--------
processor : 0
cpu : e500
revision : 2.0 (pvr 8020 0020)
bogomips : 665.60
chipset : 8555E
Machine : CDA-911 - MPC8555E (10)
Boot bank : Normal
Boot level : 0xdc
Reset factor : 0x0
clock : 666MHz
PVR : 0x80200020
SVR : 0x80790011
PLL setting : 0x4
Memory : 512 MB
Output of objdump -d ld-2.3.3.so file where the error has been shown (vmhaddshs - I guess so).
0000c254 <_dl_catch_error>:
c254: 94 21 fd 50 stwu r1,-688(r1)
c258: 7c 08 02 a6 mflr r0
c25c: 39 c0 02 98 li r14,664
c260: 48 01 bd a1 bl 28000 <_DYNAMIC+0xbc>
c264: 13 c1 73 20 vmhaddshs v30,v1,v14,v12
c268: 39 c0 02 a0 li r14,672
c26c: 7f c8 02 a6 mflr r30
c270: 13 e1 73 20 vmhaddshs v31,v1,v14,v12
c274: 81 3e 07 04 lwz r9,1796(r30)
c278: 90 01 02 b4 stw r0,692(r1)
c27c: 38 00 00 00 li r0,0
c280: 90 01 00 14 stw r0,20(r1)
c284: 90 81 02 74 stw r4,628(r1)
c288: 81 29 00 4c lwz r9,76(r9)
c28c: 90 a1 02 78 stw r5,632(r1)
c290: 90 c1 02 7c stw r6,636(r1)
c294: 7d 29 03 a6 mtctr r9
c298: 90 61 02 70 stw r3,624(r1)
c29c: 4e 80 04 21 bctrl
|