Debian Bug report logs -
#695218
valgrind: suggest libc6-dbg:i386 with programs compiled with -m32
Reported by: Vincent Lefevre <vincent@vinc17.net>
Date: Wed, 5 Dec 2012 15:21:07 UTC
Severity: minor
Tags: patch
Merged with 768412
Found in versions valgrind/1:3.10.0-1, valgrind/1:3.8.1-1
Fixed in versions valgrind/1:3.10.0-2, valgrind/1:3.10.0-3
Done: Alessandro Ghedini <ghedo@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Wed, 05 Dec 2012 15:21:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Lefevre <vincent@vinc17.net>:
New Bug report received and forwarded. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Wed, 05 Dec 2012 15:21:09 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: valgrind
Version: 1:3.8.1-1
Severity: normal
When I run valgrind on a program compiled with -m32, I get:
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.
The suggested fix is to install libc6-dbg, but it is installed
(see System Information below). Perhaps a libc6-i386-dbg package
would be necessary, in which case the suggested fix mentioned
above is wrong and the above message needs to be corrected.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages valgrind depends on:
ii libc6 2.13-37
ii libc6-dbg 2.13-37
Versions of packages valgrind recommends:
ii gdb 7.4.1-3
ii valgrind-dbg 1:3.8.1-1
Versions of packages valgrind suggests:
pn alleyoop <none>
pn kcachegrind <none>
pn valgrind-mpi <none>
pn valkyrie <none>
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Wed, 05 Dec 2012 23:45:06 GMT) (full text, mbox, link).
Message #8 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Vincent,
On 2012-12-05 16:20:37, Vincent Lefevre wrote:
> When I run valgrind on a program compiled with -m32, I get:
>
> 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.
I was facing the same issue the other day and installing libc6-dbg:i386
did the trick for me.
Cheers
--
Sebastian Ramacher
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Wed, 05 Dec 2012 23:45:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Thu, 06 Dec 2012 00:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Thu, 06 Dec 2012 00:21:05 GMT) (full text, mbox, link).
Message #16 received at 695218@bugs.debian.org (full text, mbox, reply):
On 2012-12-06 00:41:25 +0100, Sebastian Ramacher wrote:
> I was facing the same issue the other day and installing libc6-dbg:i386
> did the trick for me.
"apt-get install libc6-dbg:i386" gives:
E: Unable to locate package libc6-dbg
even though "apt-get update" included:
Get:1 http://ftp.debian.org unstable/main i386 Packages/DiffIndex [7876 B]
Get:2 http://ftp.debian.org unstable/contrib i386 Packages/DiffIndex [7819 B]
Get:3 http://ftp.debian.org unstable/non-free i386 Packages/DiffIndex [7819 B]
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Fri, 07 Dec 2012 11:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Alessandro Ghedini <al3xbio@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Fri, 07 Dec 2012 11:09:03 GMT) (full text, mbox, link).
Message #21 received at 695218@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On gio, dic 06, 2012 at 01:19:41 +0100, Vincent Lefevre wrote:
> On 2012-12-06 00:41:25 +0100, Sebastian Ramacher wrote:
> > I was facing the same issue the other day and installing libc6-dbg:i386
> > did the trick for me.
>
> "apt-get install libc6-dbg:i386" gives:
> E: Unable to locate package libc6-dbg
>
> even though "apt-get update" included:
>
> Get:1 http://ftp.debian.org unstable/main i386 Packages/DiffIndex [7876 B]
> Get:2 http://ftp.debian.org unstable/contrib i386 Packages/DiffIndex [7819 B]
> Get:3 http://ftp.debian.org unstable/non-free i386 Packages/DiffIndex [7819 B]
Did you do
# dpkg --add-architecture i386
?
It works here.
--
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Fri, 07 Dec 2012 14:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Fri, 07 Dec 2012 14:00:03 GMT) (full text, mbox, link).
Message #26 received at 695218@bugs.debian.org (full text, mbox, reply):
On 2012-12-07 12:05:48 +0100, Alessandro Ghedini wrote:
> Did you do
>
> # dpkg --add-architecture i386
>
> ?
After doing that and "apt-get update" again, I could install
libc6-dbg:i386, and valgrind now works with i386 executables.
IMHO, the valgrind error message should be corrected (completed)
concerning the particular case of 32-bit executables (or more
generally foreign architecture?).
Note: "dpkg --add-architecture i386" has some drawbacks and it
shouldn't be needed according to the sources.list(5) man page;
I've reported a bug about that (#695352).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Changed Bug title to 'valgrind: suggest libc6-dbg:i386 with programs compiled with -m32' from 'valgrind can't be used on programs compiled with -m32'
Request was from Alessandro Ghedini <ghedo@debian.org>
to control@bugs.debian.org.
(Thu, 03 Jan 2013 18:42:05 GMT) (full text, mbox, link).
Severity set to 'minor' from 'normal'
Request was from Alessandro Ghedini <ghedo@debian.org>
to control@bugs.debian.org.
(Thu, 03 Jan 2013 18:42:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Mon, 10 Feb 2014 11:42:10 GMT) (full text, mbox, link).
Acknowledgement sent
to rob <rob@rektau.ukfsn.org>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Mon, 10 Feb 2014 11:42:10 GMT) (full text, mbox, link).
Message #35 received at 695218@bugs.debian.org (full text, mbox, reply):
I'm adding this as it seems related. I'll log a new bug if needed.
I've got the same problem with the *dbg packages installed.
Linux localhost 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64
GNU/Linux
dpkg -l libc6*
||/ Name Version Architecture
+++-==============================-====================-====================-
ii libc6:amd64 2.17-97 amd64
ii libc6:i386 2.17-97 i386
ii libc6-amd64 2.17-97 i386
ii libc6-dbg:amd64 2.17-97 amd64
ii libc6-dbg:i386 2.17-97 i386
ii libc6-dev:amd64 2.17-97 amd64
ii libc6-dev:i386 2.17-97 i386
in libc6-dev-amd64 <none> i386
ii libc6-dev-i386 2.17-97 amd64
ii libc6-dev-x32 2.17-97 amd64
ii libc6-i386 2.17-97 amd64
ii libc6-i686:i386 2.17-97 i386
ii libc6-x32 2.17-97 amd64
un libc6.1 <none> <none>
un libc6.1-dev <none> <none>
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#695218; Package valgrind.
(Wed, 12 Feb 2014 13:57:15 GMT) (full text, mbox, link).
Acknowledgement sent
to Alessandro Ghedini <ghedo@debian.org>:
Extra info received and forwarded to list.
(Wed, 12 Feb 2014 13:57:15 GMT) (full text, mbox, link).
Message #40 received at 695218@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Feb 10, 2014 at 11:30:04AM +0000, rob wrote:
> I'm adding this as it seems related. I'll log a new bug if needed.
>
> I've got the same problem with the *dbg packages installed.
>
> Linux localhost 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04)
> x86_64 GNU/Linux
>
> dpkg -l libc6*
>
> [...]
>
> ii libc6-dev-x32 2.17-97 amd64
> ii libc6-x32 2.17-97 amd64
May it be that the program you are testing somehow got linked to this libc6-x32?
I'm not sure how debug symbols are supposed to work in this case though.
Cheers
--
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Wed, 12 Feb 2014 14:39:05 GMT) (full text, mbox, link).
Acknowledgement sent
to rob <rob@rektau.ukfsn.org>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Wed, 12 Feb 2014 14:39:05 GMT) (full text, mbox, link).
Message #45 received at 695218@bugs.debian.org (full text, mbox, reply):
On 12/02/14 13:54, Alessandro Ghedini wrote:
> On Mon, Feb 10, 2014 at 11:30:04AM +0000, rob wrote:
>> I'm adding this as it seems related. I'll log a new bug if needed.
>>
>> I've got the same problem with the *dbg packages installed.
>>
>> Linux localhost 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04)
>> x86_64 GNU/Linux
>>
>> dpkg -l libc6*
>>
>> [...]
>>
>> ii libc6-dev-x32 2.17-97 amd64
>> ii libc6-x32 2.17-97 amd64
>
> May it be that the program you are testing somehow got linked to this libc6-x32?
> I'm not sure how debug symbols are supposed to work in this case though.
>
> Cheers
>
I've tested valgrind against libreoffice, leafpad, E18(64bit),qalculate,
thunderbird, terminology and xterm, all with the same result.
Thanks
rob
Marked as found in versions valgrind/1:3.10.0-1.
Request was from Mathieu Malaterre <malat@debian.org>
to control@bugs.debian.org.
(Fri, 14 Nov 2014 09:21:04 GMT) (full text, mbox, link).
Added tag(s) pending and patch.
Request was from Mathieu Malaterre <malat@debian.org>
to control@bugs.debian.org.
(Fri, 14 Nov 2014 09:21:05 GMT) (full text, mbox, link).
Merged 695218 768412
Request was from Mathieu Malaterre <malat@debian.org>
to control@bugs.debian.org.
(Fri, 14 Nov 2014 09:21:08 GMT) (full text, mbox, link).
Reply sent
to Mathieu Malaterre <malat@debian.org>:
You have taken responsibility.
(Fri, 14 Nov 2014 09:27:05 GMT) (full text, mbox, link).
Notification sent
to Vincent Lefevre <vincent@vinc17.net>:
Bug acknowledged by developer.
(Fri, 14 Nov 2014 09:27:05 GMT) (full text, mbox, link).
Message #56 received at 695218-done@bugs.debian.org (full text, mbox, reply):
Control: fixed -1 1:3.10.0-2
This is now properly documented in README.Debian.
Reply sent
to Mathieu Malaterre <malat@debian.org>:
You have taken responsibility.
(Fri, 14 Nov 2014 09:27:06 GMT) (full text, mbox, link).
Notification sent
to Mathieu Malaterre <malat@debian.org>:
Bug acknowledged by developer.
(Fri, 14 Nov 2014 09:27:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Alessandro Ghedini <ghedo@debian.org>:
Bug#695218; Package valgrind.
(Fri, 14 Nov 2014 11:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Alessandro Ghedini <ghedo@debian.org>.
(Fri, 14 Nov 2014 11:33:04 GMT) (full text, mbox, link).
Message #65 received at 695218@bugs.debian.org (full text, mbox, reply):
Control: fixed -1 1:3.10.0-2
On 2014-11-14 10:22:15 +0100, Mathieu Malaterre wrote:
> Control: fixed -1 1:3.10.0-2
The bug is marked as closed, but still not marked as fixed. It seems
that "Control:" does not work with "-done". Let's try again without
"-done" (now useless as the bug is already closed).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Marked as fixed in versions valgrind/1:3.10.0-2.
Request was from Vincent Lefevre <vincent@vinc17.net>
to 695218-submit@bugs.debian.org.
(Fri, 14 Nov 2014 11:33:04 GMT) (full text, mbox, link).
Message #68 received at 768412-close@bugs.debian.org (full text, mbox, reply):
Source: valgrind
Source-Version: 1:3.10.0-3
We believe that the bug you reported is fixed in the latest version of
valgrind, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 768412@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alessandro Ghedini <ghedo@debian.org> (supplier of updated valgrind package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 14 Nov 2014 12:46:30 +0100
Source: valgrind
Binary: valgrind valgrind-dbg valgrind-mpi
Architecture: source amd64
Version: 1:3.10.0-3
Distribution: unstable
Urgency: medium
Maintainer: Alessandro Ghedini <ghedo@debian.org>
Changed-By: Alessandro Ghedini <ghedo@debian.org>
Description:
valgrind - instrumentation framework for building dynamic analysis tools
valgrind-dbg - instrumentation framework for building dynamic analysis tools (de
valgrind-mpi - instrumentation framework for building dynamic analysis tools (MP
Closes: 768303 768412
Changes:
valgrind (1:3.10.0-3) unstable; urgency=medium
.
* Bump Standards-Version to 3.9.6 (no changes needed)
* Fix changelog typo (Closes: #768303)
* Fix note about instrumenting i386 binaries on amd64 (Closes: #768412)
Checksums-Sha1:
54167da6c2200972b843609348e696a995341e9e 2462 valgrind_3.10.0-3.dsc
04dbbf93d023fed58353d502b624b710517ce53d 25684 valgrind_3.10.0-3.debian.tar.xz
9ac87c918fe08032697566369ff48ed20ed2b319 16668676 valgrind_3.10.0-3_amd64.deb
14677f3b6d9ec167e13fbf0f5da7a98bdb755b4d 48783452 valgrind-dbg_3.10.0-3_amd64.deb
95f94510f95d17f7a4a44a1c0a5c631974b8a300 100838 valgrind-mpi_3.10.0-3_amd64.deb
Checksums-Sha256:
12cb6102e8fc26a72e2a127123d6b2e7719d054cad0c49d2a78f68634e517b34 2462 valgrind_3.10.0-3.dsc
64728e8518342144169a7ad52d5a6958ba6652cc9b32fe4b9da2278c65464a3c 25684 valgrind_3.10.0-3.debian.tar.xz
c90c5700c7cf48521df8fe143d90bc2f166ec25060d853889fd23e921e3256b7 16668676 valgrind_3.10.0-3_amd64.deb
18f7b47b3f7fecfde95b3ccb1369b216894e3696613be93980104edba368b827 48783452 valgrind-dbg_3.10.0-3_amd64.deb
00e544d110306dd5431d9d60777603e2df9727cc4b722a345298c5d7ba0603ba 100838 valgrind-mpi_3.10.0-3_amd64.deb
Files:
9fd1e4d7c9fafe8cbe73593248852453 2462 devel optional valgrind_3.10.0-3.dsc
cfb8e74f80d997d4afbf0c9e1ebc973a 25684 devel optional valgrind_3.10.0-3.debian.tar.xz
43ea64070fef7357a69eaa86a01c1fb8 16668676 devel optional valgrind_3.10.0-3_amd64.deb
3da0b043110286a3bc177debcb5b4f82 48783452 debug extra valgrind-dbg_3.10.0-3_amd64.deb
a14c5a1bd823ca1684218a65224c49c2 100838 devel optional valgrind-mpi_3.10.0-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUZe5BAAoJEK+lG9bN5XPLwjsQAIvlKJJqbI7Zdp4IF0Ot+SxE
uiR/r9xSjzo8OyXSuR2Ixm/gWlcJzKJ7a0rboT0tdZxj0bb8LjFKRP1zDk0i6lvt
G6mHYsB2E6uJJ2QyKnjQV1CDkWxrt26lYbR3Nw8IOZZFgeFcF8Du/Cgk4wv+Tyl9
33eLlVVpY8IemWS4qzpDdS5RfybAHh5/hlYwvE56dxIrMPhDPQQWadCq8eBBu2rl
RV1tvS9wa7qCMb/zF2OdnMh8sLwfNyK1HVPYH+cXQruRXNv/O8ZImQcfWoJVnT3S
8o6FoUjw6BRr+W2pfa3nRPkb92xTmG4KRpcg3syKd+dYy3Eq9CXt1sFs1uAiOANQ
3nkmqr5ugNHk+lcLp6NCp4dZkoNvxU4rQMuOajimTitrJ8ZWfyccvNzxD+SpXTna
8kxjMfgtdkSl+qXlP7YEjtZHaRfxcVfGGjntVNOQFiAf5b4mfVSrMsDc8kh7vJAB
8iuycUXVuIX02G23TfI5ThYqLaFhXlZyjUgQ+IgA76gbgHyu4MPs+uN9HW8c0tWy
aF7IX8+aDWAbCg1pMTmUH/L3YqiqmAdHXUPrSqbKtb/wUBDj6dMHbwvNGdFtBh1U
pZSIUttTYdGVXIwVmo31HnAirQOJRUtEjE2CGB+FGbW20Ra7+jQXCmZKA8+FZ7fX
g5IjNCIDKphr6U9qcwty
=k1PG
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 13 Dec 2014 07:26:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Sep 6 07:32:23 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.