Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294661 - dev-libs/libdwarf ebuild request
Summary: dev-libs/libdwarf ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://reality.sgiweb.org/davea/dwarf...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 00:38 UTC by Zeev Tarantov
Modified: 2024-04-18 16:24 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libdwarf-20170709.ebuild (libdwarf-20170709.ebuild,824 bytes, text/x-matlab)
2017-10-28 18:45 UTC, LE GARREC Vincent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeev Tarantov 2009-11-26 00:38:43 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-26 09:23:10 UTC
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…
Comment 2 Sebastian Pipping gentoo-dev 2011-03-01 00:03:57 UTC
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.
Comment 3 LE GARREC Vincent 2017-10-28 18:45:45 UTC
Created attachment 500560 [details]
libdwarf-20170709.ebuild

An up-to-date ebuild for libdwarf.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-17 01:56:03 UTC
I’m open minded, but not particularly passionate about adding this. Any reason?

Maybe put it in GURU for now?
Comment 5 Alessandro Barbieri 2021-04-18 01:24:12 UTC
now in guru
Comment 6 LE GARREC Vincent 2021-04-18 08:10:08 UTC
(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.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-18 16:24:10 UTC
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(-)