I wrote a quick script and found that the only debug symbols I'm sure are suspect were the origin -dbg version of the libcairo ones. There are a bunch of files in the top level of /usr/lib/debug which don't match but I was kinda guessing, e.g.:
14:31 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/debug/ld-linux-x86-64.so.2
couldn't find paired library for: /usr/lib/debug/ld-linux-x86-64.so.2
trying alt: /lib/ld-linux-x86-64.so.2
debug_file: /usr/lib/debug/ld-linux-x86-64.so.2 has CRC of 77A3FBF0
actual_file: /lib/ld-linux-x86-64.so.2 thinks CRC should be 17CC7B66
I wrote a quick script and found that the only debug symbols I'm sure are suspect were the origin -dbg version of the libcairo ones. There are a bunch of files in the top level of /usr/lib/debug which don't match but I was kinda guessing, e.g.:
14:31 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/ debug/ld- linux-x86- 64.so.2 debug/ld- linux-x86- 64.so.2 linux-x86- 64.so.2 debug/ld- linux-x86- 64.so.2 has CRC of 77A3FBF0 linux-x86- 64.so.2 thinks CRC should be 17CC7B66
couldn't find paired library for: /usr/lib/
trying alt: /lib/ld-
debug_file: /usr/lib/
actual_file: /lib/ld-
But some don't make sense. For example:
/lib/libnss_ nis-2.7. so libnss_ nis-2.7. so debug/libnss_ nis-2.7. so debug/lib/ libnss_ nis-2.7. so debug/lib32/ libnss_ nis-2.7. so
/lib32/
/usr/lib/
/usr/lib/
/usr/lib/
3 debug files but only two actual libraries. The odd one out doesn't match as you'd expect:
14:35 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/ debug/libnss_ nis-2.7. so debug/libnss_ nis-2.7. so nis-2.7. so debug/libnss_ nis-2.7. so has CRC of DE32A5A5 nis-2.7. so thinks CRC should be 430800A debug/lib/ libnss_ nis-2.7. so debug/lib32/ libnss_ nis-2.7. so
couldn't find paired library for: /usr/lib/
trying alt: /lib/libnss_
debug_file: /usr/lib/
actual_file: /lib/libnss_
14:36 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/
14:37 ajb@pitcairn/x86_64 [dbgsym.git] >./dbgsym.py -a -f /usr/lib/
14:37 ajb@pitcairn/x86_64 [dbgsym.git] >
You can find the script at github:
http:// github. com/stsquad/ dbgsym/ tree/master