It's a library for reading debugging information in DWARF format from ELF object files. Or something. The upstream version of dev-util/perf wants to use it, and I wonder what gdb and valgrind are using instead. If it's actually already in portage and I just couldn't find it - please tell me. If it's not needed because there's a better alternative - please tell me. If it's only going to be included after I submit an ebuild - please tell me. Reproducible: Always
Well, sincerely I saw no point into adding this; it's optional for perf (it only needs the symtab to be present, not full dwarf information), and nothing else would be doing it. FWIW there are multiple implementations of the DWARF parsing routines: gdb, mdb and binutils use libbfd, elfutils uses libdw, pahole uses libdwarves…
Experimental ebuild now in betagarden overlay: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=tree;f=dev-libs/libdwarf;hb=HEAD # sudo layman -a betagarden # sudo emerge -av dev-libs/libdwarf In case you patch LDFLAGS support in properly, please share the patch with me.
Created attachment 500560 [details] libdwarf-20170709.ebuild An up-to-date ebuild for libdwarf.
I’m open minded, but not particularly passionate about adding this. Any reason? Maybe put it in GURU for now?
now in guru
(In reply to Sam James from comment #4) > I’m open minded, but not particularly passionate about adding this. Any > reason? > > Maybe put it in GURU for now? Sorry, I can't remember which software I used and needed it :/ I will post a comment if I remember.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1526886f9ca2bce1760eff346fa141a21c6ccafb commit 1526886f9ca2bce1760eff346fa141a21c6ccafb Author: David Roman <davidroman96@gmail.com> AuthorDate: 2024-04-18 13:57:27 +0000 Commit: David Roman <davidroman96@gmail.com> CommitDate: 2024-04-18 13:57:27 +0000 dev-libs/libdwarf: add 0.9.2 Closes: https://bugs.gentoo.org/294661 Signed-off-by: David Roman <davidroman96@gmail.com> dev-libs/libdwarf/Manifest | 1 + dev-libs/libdwarf/libdwarf-0.9.2.ebuild | 47 +++++++++++++++++++++++++++++++++ dev-libs/libdwarf/metadata.xml | 5 +++- 3 files changed, 52 insertions(+), 1 deletion(-)