Hello.

I need some help. I want to start valgrind but get this error.

# /mnt/nfs/bin/valgrind/bin/valgrind ls
==933== Memcheck, a memory error detector
==933== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==933== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==933== Command: ls
==933==

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:
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

libc.so and ld.so aren't stripped

$ file ld-2.18-2013.10.so
ld-2.18-2013.10.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 
(SYSV), dynamically linked, not stripped
$ file libc-2.18-2013.10.so
libc-2.18-2013.10.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 
(SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for 
GNU/Linux 2.6.16, not stripped

And I do not see any mentions about strcmp in ld.so but I see it libc.so

# readelf -a /lib/libc.so.6 | grep strcmp
   2069: 00059bf1    22 FUNC    GLOBAL DEFAULT   12 strcmp@@GLIBC_2.4
# readelf -a /lib/ld-linux-armhf.so.3 | grep strcmp


How can I make valgrind work?

-- 
Sincerely
Mihail Baikov


------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to