Hi everyone, I'm having a problem while trying to cross compile Valgrind for 
ARM.

armv6 and lower are not supported because the hardware lacks reasonable support
for threads.  It is [was] possible to run memcheck of a single-thread program
on amrv6.  Search the mailing list archives and bug reports of a few years ago
for the patches; I contributed one set.  Beware that it is *VERY SLOW*
and it is likely that you will run out of RAM when checking any real program.

It is foolish even to try running memcheck on anything less than
a RaspberryPi-3B (1GB RAM, 1GHz CPU, $35.)  You have much better things to do.
Linux distributions such as Fedora and Debian already package valgrind for 
armv7*.

priv/main_globals.c:1: *error: bad value (cortex-a8) for -mcpu= switch *
Makefile:1254: recipe for target 'priv/libvex_arm_linux_a-main_globals.o' failed

-mcpu=cortex-a8 does not match -march=arm.  Delete the -mcpu entirely.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to