Summary: | sys-devel/clang: installed debug information seem to be empty | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gerion <gerion.entrup> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
gerion
2023-11-03 10:40:53 UTC
Note that USE=debug has nothing to do with debug symbols. See https://wiki.gentoo.org/wiki/Debugging#Per-package. Anyway, if I had to guess, this is because debugedit lacks support for dwarf5. This would be a problem if you built clang with clang. Ok, I have `splitdebug` activated and clang is compiled with the system default (should be GCC). I will try to recompile it with `-g`. Is it possible that splitdebug make Portage to split out a debug section that is more less empty since Clang was compiled without debug information? Also, I have some debug information. For example, pressing <TAB> when defining a break point give some symbols. Actually compiling with debug information (-ggdb) fixes the problem. |