Comment 11 for bug 423485

Revision history for this message
Martin Olsson (mnemo) wrote : Re: many errors with glibc 2.10 on x86_64

I applied "valgrind-3.4.1-x86_64-ldso-strlen.patch" ( http://bugsfiles.kde.org/attachment.cgi?id=33034 ) to the karmic's valgrind and the errors went away. However, if I uninstall libc6-dbgsym valgrind becomes totally broken (because it fails to find strlen in ld.so), basically just what Nicholas Nethercote explained in the upstream bug: http://bugs.kde.org/show_bug.cgi?id=190429

So this patch is not good for Ubuntu as-is (I wonder if that bug also happens in Fedora 11 because they seem to carry exactly that patch, maybe they have libc6-dbg listed as an explicit dependency of their valgrind package or something though?).

It seems that valgrind devs recommend not stripping ld.so or adding libc6-dbg as a dependency of the valgrind package. For details see the file README_PACKAGERS inside the valgrind package.