On 09/22/2016 06:53 PM, Mikhail Baikov wrote: > valgrind: A must-be-redirected function > valgrind: whose name matches the pattern: strcmp > valgrind: in an object with soname matching: ld-linux-armhf.so.3 > valgrind: was not found whilst processing > valgrind: symbols from the object with soname: ld-linux-armhf.so.3 Look at coregrind/m_redir.c:1364
/* If we're using memcheck, use these intercepts right from the start, otherwise ld.so makes a lot of noise. In most ARM-linux distros, ld.so's soname is ld-linux.so.3, but Ubuntu 14.04 on Odroid uses ld-linux-armhf.so.3 for some reason. */ ... /* strcmp */ add_hardwired_spec( "ld-linux.so.3", "strcmp", (Addr)&VG_(arm_linux_REDIR_FOR_strcmp), complain_about_stripped_glibc_ldso ); I think, on some machines running linux strcmp() function resides in ld-linux.so. But look on same for x86: just NULL passed to add_hardwired_spec() function. I think, you need to do the same. ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users