We're hoping to do some algorithm profiling on our ARM Cortex-A8 based SOC, 
have had no problem building and running Valgrind 3.6.1 for our platform, but 
in all cases when running the tool even on very simple console mode "Hello 
World" applications, we're immediately getting a SIGILL crash on what appears 
to be the _start function in ucLibc before hitting any of our code. We're 
building ucLibc using the generic ARM option (there isn't a Cortex-A8 buildroot 
option), but I was under the general impression that it's valgrind that 
requires Cortex-A8, which is how we've built it, that a library such as ucLibc 
or other application built using a generic ARM instruction set should be able 
to be executed.

Here's the sort of thing we're running into, would appreciate any suggestions 
for what might be going on, we're completely stuck at this point...


# valgrind -v ./diftDec dift_422cmode2_no_hdr.data output.dat -hdr -f 422



==483== Memcheck, a memory error detector



==483== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.



==483== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info



==483== Command: ./diftDec dift_422cmode2_no_hdr.data output.dat -hdr -f 422



==483==



--483-- Valgrind options:



--483--    --suppressions=/usr/lib/valgrind/uclibc.supp



--483--    -v



--483-- Contents of /proc/version:



--483--   Linux version 2.6.32 (Sri@Sri-Northstar) (gcc version 4.4.3 
(Buildroot 2010.02) ) #5 PREEMPT Thu Aug 25 18:19:36 PDT 2011



--483-- Arch and hwcaps: ARM, ARMv7



--483-- Page sizes: currently 4096, max supported 4096



--483-- Valgrind library directory: /usr/lib/valgrind



--483-- Reading syms from /dift/diftDec (0x8000)



--483-- Reading syms from /lib/ld-uClibc-0.9.30.2.so (0x4000000)



--483--    object doesn't have a symbol table



--483-- Reading syms from /usr/lib/valgrind/memcheck-arm-linux (0x38000000)



--483--    object doesn't have a symbol table



--483--    object doesn't have a dynamic symbol table



--483-- Reading suppressions file: /usr/lib/valgrind/uclibc.supp



--483-- Reading suppressions file: /usr/lib/valgrind/default.supp



==483==



==483== Process terminating with default action of signal 4 (SIGILL)



==483==  Illegal opcode at address 0x380AC1A8



==483==    at 0x4000960: _start (in /lib/ld-uClibc-0.9.30.2.so)



==483==



==483== HEAP SUMMARY:



==483==     in use at exit: 0 bytes in 0 blocks



==483==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated



==483==



==483== All heap blocks were freed -- no leaks are possible



==483==



==483== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)



==483== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)



Illegal instruction



#


Conexant E-mail Firewall (Conexant.Com) made the following annotations
---------------------------------------------------------------------
********************** Legal Disclaimer **************************** 

"This email may contain confidential and privileged material for the sole use 
of the intended recipient. Any unauthorized review, use or distribution by 
others is strictly prohibited. If you have received the message in error, 
please advise the sender by reply email and delete the message. Thank you." 

********************************************************************** 

---------------------------------------------------------------------

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to