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

2021-05-04 Thread Tino Mettler via Elfutils-devel
Hi, 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 this feature. I use binaries with minidebuginfo (the LZMA compressed symbol table in t

Re: Storing package metadata in ELF objects

2021-05-04 Thread Luca Boccassi
On Fri, 2021-04-30 at 19:57 +0200, Mark Wielaard wrote: > Hi, > > On Sat, 2021-04-10 at 18:44 +, Zbigniew Jędrzejewski-Szmek wrote: > > [I'm forwarding the mail from Luca who is not subscribed to fedora- > > devel] > > On Sat, Apr 10, 2021 at 01:38:31PM +0100, Luca Boccassi wrote: > > Cross-po

Windows build of libelf (or more)?

2021-05-04 Thread Stephan Tobies via Elfutils-devel
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 archive but have not found any pointers in that direction. Is anybody aware of a way to compi

[PATCH] debuginfod: debuginfod client would cache negative results.

2021-05-04 Thread Alice Zhang via Elfutils-devel
add debuginfod_config_cache for reading and writing to cache configuration files, make use of the function within debuginfod_clean_cache and debuginfod_query_server. in debuginfod_query_server, create 000-permission file on failed queries. Before querying each BUILDID, if corresponding 000 file de

Re: [PATCH] libdw: handle DW_FORM_indirect when reading attributes

2021-05-04 Thread Omar Sandoval
On Sat, May 01, 2021 at 05:59:31PM +0200, Mark Wielaard wrote: > Hi Omar, > > On Fri, 2021-04-23 at 16:36 -0700, Omar Sandoval wrote: > > Whenever we encounter an attribute with DW_FORM_indirect, we need to > > read its true form from the DIE data. Then, we can continue normally. > > This adds sup

Re: [PATCH] libdw: handle DW_FORM_indirect when reading attributes

2021-05-04 Thread Omar Sandoval
On Sat, May 01, 2021 at 06:03:37PM +0200, Mark Wielaard wrote: > Hi, > > On Sat, 2021-05-01 at 17:59 +0200, Mark Wielaard wrote: > > There is __libdw_form_val_compute_len which already handles > > DW_FORM_indirect: > > > > case DW_FORM_indirect: > > get_uleb128 (u128, valp, endp); > >