From: Tom H. <to...@co...> - 2014-06-02 14:41:21
|
On 02/06/14 15:05, Vignesh wrote: > However, this still dazzles me: > > I still get this warning while running valgrind: > --8925-- Considering /system/lib/libc.so .. > --8925-- .. CRC mismatch (computed aedb52cb wanted eadc3e5a) > --8925-- object doesn't have a symbol table > > When I compute crc for /system/lib/libc.so externally, I get aedb52cb > and the system under test doesn't contain libc anywhere else.. Where > else is the executable picking libc from? Output of strace relevant to > libc given below It's not the CRC of libc.so you want, it's the CRC of the debug file. So your libc.so apparently has a .gnu_debuglink section in it which says that there should be a debug image with a CRC of eadc3e5a. The slightly odd thing is that your strace suggests it isn't finding a debug image, so I'm not sure why it is calcing the CRC of the main file instead. None the less, if you have built with a separate debug file then you need to install it so valgrind can find it. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |