From: John R. <jr...@bi...> - 2017-11-23 17:30:15
|
> 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. |