|
From: Tom H. <to...@co...> - 2020-03-01 23:31:18
|
On 01/03/2020 21:57, Philippe Waroquiers wrote: > Allow valgrind to find debug info in a 'usr merge' setup. > > On ubuntu 19.10, valgrind fails telling that it cannot find > the mandatory redirection for strlen in ld-linux-x86-64.so.2. Why is this a problem on Ubuntu and not on Fedora which has had usr merge for years? I guess it's to do with the Ubuntu multilib setup being different but are we sure this isn't going to break Fedora/RH systems? > Without this patch, valgrind searches the debug info (a.o.) > in /usr/lib/debug/usr/lib/x86_64-linux-gnu/ld-2.30.so > so using the concatenation of /usr/lib/debug > and /usr/lib/x86_64-linux-gnu/ld-2.30.so, > but the debug info is located at the concatenation of > /usr/lib/debug and /lib/x86_64-linux-gnu/ld-2.30.so > (so without the leading /usr). > Modify the debug info search so as to try with and without the /usr. I guess so long as it searches both that is fine... Tom -- Tom Hughes (to...@co...) http://compton.nu/ |