I have tried to cross-compile valgrind for arm-linux. I used the following command: CC=arm-linux-gcc ./configure --host-armv7-unknown-linux Make fails with the following message: /tmp/ccM33Ubd.s: Assembler messages: /tmp/ccM33Ubd.s:106: Error: bad instruction `svc 0x0' /tmp/ccM33Ubd.s:1372: Error: bad instruction `svc 0x0' make[3]: *** [libcoregrind_arm_linux_a-m_debuglog.o] Error 1 Let me know what other information might be needed.
Are you familiar with cross-compilation ? Are you sure that you haven't been combining the ARM cross-compiler with the host assembler ?
Apologies, I should have mentioned that I am new to cross-compiling. However, I did follow the instructions as best as possible and the ./configure passes with no errors. Is there something else missing from the issued ./configure I shown in the original post in order to cross-compile correctly? CC=arm-linux-gcc ./configure --host-armv7-unknown-linux
Support questions should be sent to the valgrind-users mailing list.