https://sourceware.org/bugzilla/show_bug.cgi?id=31169
Bug ID: 31169 Summary: [display text] Source code locations can not be found in a C++ application Product: binutils Version: 2.41 Status: NEW Severity: normal Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: ruud.vanderpas at oracle dot com Target Milestone: --- This is a C++ application developed at the University of Bristol. The developers run into the problem that "gprofng display text" cannot locate the source file(s), while the application and library objects have been compiled with -g. This problem seems to be related to interpreting the DWARF output. If -gdwarf-2 is added on the g++ compile lines, the source files can be located and source line level information is printed. If however, -gdwarf-3 is used, the locations of the source files cannot be found and consequently, no source line level information is printed. A test case exhibiting this problem has been made available. The program needs to be compiled with g++ 8.5 and that has been used in the tests. -- You are receiving this mail because: You are on the CC list for the bug.