|
From: Vishal <vis...@gm...> - 2013-07-30 06:05:08
|
Paralkar Anmol-B07584 <B07584 <at> freescale.com> writes: > > > -----Original Message----- > > From: Vishal [mailto:vishal.ajmera <at> gmail.com] > > Sent: Monday, July 29, 2013 1:40 PM > > To: valgrind-users <at> lists.sourceforge.net > > Subject: [Valgrind-users] Valgrind throws assertion on powerpc while trying > > to run 'ls' > > > > Hi, > > > > I am using valgrind 3.8.1 on powerpc. I could compile the valgrind > > successfully however problem is when I try to run valgrind with any command > > I > > get following error: > > > > $ valgrind ls > > > > valgrind: m_machine.c:1381 (vgPlain_machine_ppc32_set_clszB): Assertion > > 'vai.ppc_cache_line_szB == 0 || vai.ppc_cache_line_szB == szB' failed. > > > > Can someone help me in correcting above problem? Is my installation > > correct? > > > > Warm Regards, > > Vishal > > Hi Vishal, > > What platform (PowerPC variant) are you on? > > There is an entry in Valgrind's KDE Bugtracking System: > > https://bugs.kde.org/show_bug.cgi?id=308135 > > - just in case it is relevant or it helps. > > Thanks, > Anmol. > Hi Anmol, I am using PPC476 FP variant. I looked at the bug posting but the assert error mentioned in posting is at a different line then where I am getting it and so wondering if I had configured valgrind correctly. vg_assert(vai.ppc_cache_line_szB == 0 || vai.ppc_cache_line_szB == szB); -- I get error at this line. vg_assert(szB == 32 || szB == 64 || szB == 128); -- posting in bugzilla is for this line. The two lines above are in the same function in m_machine.c one after other. Note: when I comment the above line, compilation goes without error and I could run valgrind. Is it safe to comment the above line which is giving error? Warm Regards, Vishal |