https://sourceware.org/bugzilla/show_bug.cgi?id=30589
Bug ID: 30589
Summary: debuginfod can't find sources even though they exist
on disk
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: enha
https://sourceware.org/bugzilla/show_bug.cgi?id=30589
--- Comment #1 from Russell Greene ---
er, the correct command for the non-working case should be
DEBUGINFOD_URLS="http://localhost:8002"; debuginfod-find source
aabbccdd `pwd`/servefrom/test.c
--
You are re
https://sourceware.org/bugzilla/show_bug.cgi?id=30589
--- Comment #3 from Russell Greene ---
Yeah, that looks like an issue for sure. Clang seems to omit more sane dwarf:
Directory table:
[path(line_strp)]
0 /home/russell/debuginfod_test/servefrom (0)
But debuginfod still doesn't se
https://sourceware.org/bugzilla/show_bug.cgi?id=30589
--- Comment #4 from Russell Greene ---
% mkdir servefrom
% echo 'int main(){}' > test.c
% gcc -g test.c -ffile-prefix-map=`pwd`=`pwd`/servefrom -o test_gcc
% clang -g test.c -ffile-prefix-map=`pwd`=`pwd`/servefrom -o test_clang
% mv test.c se