On Thu, Jan 12, 2012 at 9:43 PM, Bansal Aneesh-B39320 <[email protected]>wrote:
> Hello,**** > > ** ** > > PowerPC uses two alternate time base registers which are read from user > space**** > > by using PPC instructions mfatbu and mfatbl . However these instructions > are**** > > not supported by Valgrind.**** > > CPU : e500mc**** > > Here are the logs when an application executing such instruction is > executed**** > > with Valgrind 3.7.0:**** > > ** ** > > dis_proc_ctl(ppc)(mfspr,SPR)(0x20F)**** > > disInstr(ppc): unhandled instruction: 0x7C0F82A6**** > > primary 31(0x1F), secondary 678(0x2A6)**** > > ==2204== valgrind: Unrecognized instruction at address 0x10003dfc.**** > > ==2204== at 0x10003DFC: ??? (in /usr/bin/simple_crypto)**** > > ==2204== by 0x1000181B: ??? (in /usr/bin/simple_crypto)**** > > ==2204== by 0xFE179E7: ??? (in /lib/libpthread-2.13.so)**** > > ==2204== by 0x40EEA9B: ??? (in /lib/libc-2.13.so)**** > > ==2204== Your program just tried to execute an instruction that Valgrind** > ** > > ==2204== did not recognise. There are two possible reasons for this.**** > > ==2204== 1. Your program has a bug and erroneously jumped to a non-code*** > * > > ==2204== location. If you are running Memcheck and you just saw a**** > > ==2204== warning about a bad jump, it's probably your program's fault.* > *** > > ==2204== 2. The instruction is legitimate but Valgrind doesn't handle it,* > *** > > ==2204== i.e. it's Valgrind's fault. If you think this is the case or* > *** > > ==2204== you are not sure, please let us know and we'll try to fix it.* > *** > > ==2204== Either way, Valgrind will now raise a SIGILL signal which will*** > * > > ==2204== probably kill your program.**** > > ** ** > > ** ** > > We have developed a patch to fix the issue and submitted the patch > upstream to Valgrind community for processing. > how about you also submit the patch to oe-core as well so we can use it until the upstream patch lands in a release that we will use > **** > > ** ** > > ** ** > > Regards,**** > > *Aneesh Bansal* > > ** > > Plot No. – 18 | Sector-16 A, Noida – 201301**** > > Phone : 0120395 x3320**** > > ** ** > > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > >
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
