https://sourceware.org/bugzilla/show_bug.cgi?id=20876
--- Comment #2 from Matthias Klose <doko at debian dot org> --- this doesn't seem to work yet. I now get: $ readelf -n /bin/ls | grep 'Build ID' Build ID: 1b1d2d0a5c825e50e07e80595427894ef0af116b $ strace objdump --disassemble -S /bin/ls 2>&1 | grep debug open("/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) open("/bin/.debug/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/debug/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) open("/bin/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) open("/bin/.debug/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/debug/bin/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) the line open("/usr/lib/debug/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT (No such file or directory) looks fine, however the dirname needs to be stripped -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils