[Bug libdw/27805] libdwfl: Unable to extract source line information for RISC-V binary

2021-05-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27805 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

Re: PATCH: PR27783: debuginfod: fetch default DEBUGINFOD_URLS from systemwide file

2021-05-05 Thread Mark Wielaard
Hi Frank, On Mon, May 03, 2021 at 09:05:42AM -0400, Frank Ch. Eigler via Elfutils-devel wrote: > > [...] But I think that is the nice things about using the > > environment variable to indicate debuginfod-client should be used in > > a specific environment. [...] > > This is only a way of making

[Bug libdw/27805] libdwfl: Unable to extract source line information for RISC-V binary

2021-05-05 Thread wilson at gcc dot gnu.org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27805 --- Comment #3 from Jim Wilson --- My first thought was linkonce/comdat, but that is used by C++ and would have shown up before. So that leaves -gc-sections. I can reproduce with a simple example. rohan:2010$ cat tmp.c extern int sub1 (int)

[Bug libdw/27805] libdwfl: Unable to extract source line information for RISC-V binary

2021-05-05 Thread wilson at gcc dot gnu.org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27805 --- Comment #4 from Jim Wilson --- Actually I just noticed with the x86_64-linux compiler I'm getting addresses of 0 but lengths of 4 which would be OK. Length: 92 Version: 2 Offset into .debug_info:

Re: PATCH: PR27784 debuginfod: notify interactive clients one time about usage

2021-05-05 Thread Frank Ch. Eigler via Elfutils-devel
Hi - OK, how about this? diff --git a/config/profile.sh.in b/config/profile.sh.in index aa228a0dcd16..aec9e7df30f3 100644 --- a/config/profile.sh.in +++ b/config/profile.sh.in @@ -1,4 +1,18 @@ if [ -n "@DEBUGINFOD_URLS@" ]; then - DEBUGINFOD_URLS="${DEBUGINFOD_URLS-}${DEBUGINFOD_URLS:+ }

Re: Missing .gnu_debugdata section on ARM platform when libdw is used by systemd-coredump

2021-05-05 Thread Mark Wielaard
Hi Tino, On Tue, 2021-05-04 at 14:15 +0200, Tino Mettler via Elfutils-devel wrote: > I have a system running on 2 different architectures: AMD64 and ARM. > When a coredump happens, I want systemd-coredump to generate a stack > trace of the crashing application. Systemd depends on elfutils for > th

Re: Storing package metadata in ELF objects

2021-05-05 Thread Mark Wielaard
Hi Luca, On Tue, 2021-05-04 at 14:43 +0100, Luca Boccassi wrote: > On Fri, 2021-04-30 at 19:57 +0200, Mark Wielaard wrote: > > Is there a list of default keys (and their canonical spelling, upper- > > lower-Camel_Case, etc.)? If there is, could we have a "debuginfod" key > > with as value an URL p

Re: Windows build of libelf (or more)?

2021-05-05 Thread Mark Wielaard
Hi Stephan, On Tue, 2021-05-04 at 14:47 +, Stephan Tobies via Elfutils-devel wrote: > To refresh an existing library based on the old libelf code (mr511), > I am looking for a way to compile (or cross-compile) the libelf of > the elfutils for Windows. If have been searching the mailing list >

Re: Windows build of libelf (or more)?

2021-05-05 Thread Ulf Hermann via Elfutils-devel
The Qt project had some windows libraries: https://code.qt.io/cgit/qt-creator/elfutils.git/ https://download.qt.io/development_releases/prebuilt/elfutils/ Those are somewhat outdated, unfortunately. Contributions through our code review system at https://codereview.qt-project.org are always we