Valgrind nie działa

Paweł Sikora pluto at agmk.net
Mon Jan 23 11:41:04 CET 2012


W dniu 2012-01-23 10:25, Jacek Konieczny napisał(a):
> 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:      strlen
> valgrind:  in an object with soname matching:   ld-linux.so.2
> valgrind:  was not found whilst processing
> valgrind:  symbols from the object with soname: ld-linux.so.2
> valgrind:
> valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
> valgrind:  package on this machine.  (2, longer term): ask the 
> packagers
> valgrind:  for your Linux distribution to please in future ship a 
> non-
> valgrind:  stripped ld.so (or whatever the dynamic linker .so is 
> called)
> valgrind:  that exports the above-named function using the standard
> valgrind:  calling conventions for this platform.  The package you 
> need
> valgrind:  to install for fix (1) is called
> valgrind:
> valgrind:    On Debian, Ubuntu:                 libc6-dbg
> valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
> valgrind:
> valgrind:  Cannot continue -- exiting now.  Sorry.
>
> Doinstalowanie aktualnego glibc z aktualnym glibc-debuginfo nie 
> pomaga.

glibc-debuginfo nie jest potrzebny, bo glibc.spec nie stripuje ld.so

[pawels w pawels ~/bugs]$ file /lib/ld-2.14.1.so
/lib/ld-2.14.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 
(SYSV), dynamically linked, 
BuildID[sha1]=0x0759bf96a20bd68c604b0dec0e253fbb0b50a561, not stripped
[pawels w pawels ~/bugs]$ file /lib64/ld-2.14.1.so
/lib64/ld-2.14.1.so: ELF 64-bit LSB shared object, x86-64, version 1 
(SYSV), dynamically linked, 
BuildID[sha1]=0x16c9db31ea442564d88365c6f4eb8b075eb9ef8a, not stripped

>
> Jakieś pomysły?

u mnie valgrind-3.7.0-1.x86_64 dziala.



More information about the pld-devel-pl mailing list