https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88244
Bug ID: 88244 Summary: [libbacktrace] Failure to open .gnu_debuglink is silent Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- Created attachment 45113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45113&action=edit Test-case Attached test-case exercises libbacktrace with a broken .gnu_debuglink: ... $ ./etest test1: [0]: missing file name or function name FAIL: backtrace_full noinline test2: [0]: missing file name or function name FAIL: backtrace_full inline test3: [0]: missing file name or function name FAIL: backtrace_simple noinline test4: [0]: missing file name or function name FAIL: backtrace_simple inline PASS: backtrace_syminfo variable ... While the test-case is verbose about not finding specific debug info, libbacktrace is silent about the underlying issue: failing to open .gnu_debuglink.