Package: valgrind
Version: 1:3.7.0-6
Severity: grave
Justification: renders package unusable
Dear Maintainer,
When I try to run Valgrind it refuses to run, and exits with an error
message about being unable to redirect a function. The following shows how
to reproduce it:
> cat foo.c
int main()
{
}
> gcc foo.c -o foo
> valgrind ./foo
==11407== Memcheck, a memory error detector
==11407== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==11407== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==11407== Command: ./foo
==11407==
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-x86-64.so.2
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux-x86-64.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.
I do have the libc6-dbg package installed:
> dpkg -l | grep libc6
ii libc6:amd64
2.13-38 amd64 Embedded GNU C Library:
Shared libraries
ii libc6:i386
2.13-38 i386 Embedded GNU C Library:
Shared libraries
ii libc6-amd64
2.13-38 i386 Embedded GNU C Library:
64bit Shared libraries for AMD64
ii libc6-dbg:amd64
2.13-38 amd64 Embedded GNU C Library:
detached debugging symbols
ii libc6-dbg:i386
2.13-38 i386 Embedded GNU C Library:
detached debugging symbols
ii libc6-dev:amd64
2.13-38 amd64 Embedded GNU C Library:
Development Libraries and Header Files
ii libc6-dev:i386
2.13-38 i386 Embedded GNU C Library:
Development Libraries and Header Files
ii libc6-dev-amd64
2.13-38 i386 Embedded GNU C Library:
64bit Development Libraries for AMD64
ii libc6-i386
2.13-38 amd64 Embedded GNU C Library:
32-bit shared libraries for AMD64
ii libc6-i686:i386
2.13-38 i386 Embedded GNU C Library:
Shared libraries [i686 optimized]
This seems related to #695218, but in my case the executable is not a 32
bit applicatoin.
I am reporting this as "grave" given that it renders the package unusable,
and I have can't think of anything that makes my rather fresh installation
unique in any way.
-- System Information:
Debian Release: 7.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages valgrind depends on:
ii libc6 2.13-38
ii libc6-dbg 2.13-38
Versions of packages valgrind recommends:
ii gdb 7.4.1+dfsg-0.1
ii valgrind-dbg 1:3.7.0-6
Versions of packages valgrind suggests:
pn alleyoop <none>
pn kcachegrind <none>
pn valgrind-mpi <none>
pn valkyrie <none>
-- no debconf information