Stripped ld.so in karmic libc6 breaks valgrind

Duncan Sands baldrick at free.fr
Fri Aug 21 21:48:40 UTC 2009


In karmic, ld.so is stripped of debug symbols.  This will
prevent the upcoming 3.5.0 release of valgrind from working.
While this can be worked around by installing libc6-dbg, it
does mean that valgrind won't work out of the box.  Is there
any chance of not stripping ld.so for the karmic release?

Here are some comments by Julian on the valgrind developers
list.

 > It's not the stripping of libc.so that's a problem, only of ld.so.
 > And then it's only that we need to see the entry point for ld.so's
 > private strlen function, and perhaps a couple of others (strcmp?)
 >
 > Valgrind hasn't worked on ppc32-linux on openSUSE for a while, because
 > of this problem.  At some point we may end up in the position where
 > Valgrind doesn't work on any distro that ships a stripped ld.so.
 >
 > AFAICT the Fedora people are aware of this, and ship a non-stripped
 > ld.so, so no problem there.  But Ubuntu, openSUSE and others are
 > potentially problematic.

Best wishes,

Duncan.




More information about the Ubuntu-devel-discuss mailing list