Some error occued when I run "$valgrind ls" on my embeded board based on powerpc hardware platform. my OS version: linux kernel 2.6.32 $valgrind ls ==1312== Memcheck, a memory error detector ==1312== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==1312== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==1312== Command: ls ==1312== disInstr(ppc): unhandled instruction: 0x10E40301 primary 4(0x4), secondary 769(0x301) ==1312== valgrind: Unrecognised instruction at address 0x4018ff0. ==1312== Your program just tried to execute an instruction that Valgrind ==1312== did not recognise. There are two possible reasons for this. ==1312== 1. Your program has a bug and erroneously jumped to a non-code ==1312== location. If you are running Memcheck and you just saw a ==1312== warning about a bad jump, it's probably your program's fault. ==1312== 2. The instruction is legitimate but Valgrind doesn't handle it, ==1312== i.e. it's Valgrind's fault. If you think this is the case or ==1312== you are not sure, please let us know and we'll try to fix it. ==1312== Either way, Valgrind will now raise a SIGILL signal which will ==1312== probably kill your program. ==1312== ==1312== Process terminating with default action of signal 4 (SIGILL) ==1312== Illegal opcode at address 0x4018FF0 ==1312== at 0x4018FF0: memcpy (in /lib/ld-2.8.so) ==1312== by 0x40021C3: _dl_start_final (in /lib/ld-2.8.so) ==1312== by 0x4015F8B: _start (in /lib/ld-2.8.so) ==1312== ==1312== HEAP SUMMARY: ==1312== in use at exit: 0 bytes in 0 blocks ==1312== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==1312== ==1312== All heap blocks were freed -- no leaks are possible ==1312== ==1312== For counts of detected and suppressed errors, rerun with: -v ==1312== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 2) Illegal instruction
*** This bug has been marked as a duplicate of bug 275786 ***