Re: [PATCH v2] backends/ppc_initreg.c: include .

2021-02-01 Thread Dmitry V. Levin
On Tue, Feb 02, 2021 at 12:04:03AM -0300, Érico Nogueira via Elfutils-devel wrote: > From: Érico Rolim > > Necessary on musl for struct pt_regs definition, doesn't affect the > build on glibc. > > Signed-off-by: Érico Rolim > --- > > Sending a v2 with the main difference being a slightly diff

[PATCH v2] backends/ppc_initreg.c: include .

2021-02-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Necessary on musl for struct pt_regs definition, doesn't affect the build on glibc. Signed-off-by: Érico Rolim --- Sending a v2 with the main difference being a slightly different commit message and signed-off-by line. I'm a bit hesitant on this being the correct patch, so I

Re: [PATCH v2] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Dmitry V. Levin
Hi, On Mon, Feb 01, 2021 at 09:16:56PM -0300, Érico Nogueira via Elfutils-devel wrote: [...] > I'm not sure if it's a bug in this configure.ac or this macro, but > _GNU_SOURCE wasn't defined and lead to XSI strerror_r being used on > glibc until I added the trick with CFLAGS and old_CFLAGS. It's

[PATCH] backends/ppc_initreg.c: include .

2021-02-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Necessary on musl, doesn't affect the build on glibc. --- backends/ChangeLog | 4 backends/ppc_initreg.c | 1 + 2 files changed, 5 insertions(+) diff --git a/backends/ChangeLog b/backends/ChangeLog index f22cd57f..eb15c81d 100644 --- a/backends/ChangeLog +++ b/backend

[PATCH v2] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Some C libraries don't provide the GNU version of strerror_r, only the XSI-compliant one. We use the GNU version when available, since it fits the code better, and otherwise use the XSI-compliant one. https://sourceware.org/bugzilla/show_bug.cgi?id=21010 Signed-off-by: Érico R

Re: [PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Érico Nogueira via Elfutils-devel
Em 01/02/2021 18:35, Mark Wielaard escreveu: Hi Érico, On Mon, Feb 01, 2021 at 03:56:26PM -0300, Érico Nogueira via Elfutils-devel wrote: Some C libraries don't provide the GNU version of strerror_r, only the XSI-compliant one. We use the GNU version when available, since it fits the code bett

Re: [PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Mark Wielaard
Hi Érico, On Mon, Feb 01, 2021 at 03:56:26PM -0300, Érico Nogueira via Elfutils-devel wrote: > Some C libraries don't provide the GNU version of strerror_r, only the > XSI-compliant one. We use the GNU version when available, since it fits > the code better, and otherwise use the XSI-compliant on

[PATCH] libdwfl: use GNU strerror_r only when available.

2021-02-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Some C libraries don't provide the GNU version of strerror_r, only the XSI-compliant one. We use the GNU version when available, since it fits the code better, and otherwise use the XSI-compliant one. Signed-off-by: Érico Rolim --- If possible, I'd like to get this patch in b

elfutils 0.183 release planning - next week (Monday Feb 8)

2021-02-01 Thread Mark Wielaard
Hi, I believe I reviewed all pending patches, please yell and scream if I missed something. It has been 3 months since 0.182. There have been almost 100 commits. Various bug fixes. And some issues, like recognizing SHF_GNU_RETAIN, needed for clean results on gcc11 + binutils 2.36. So I was hopin

Re: Remove nested functions from readelf.c

2021-02-01 Thread Mark Wielaard
On Fri, 2021-01-08 at 09:16 +0100, Timm Bäder via Elfutils-devel wrote: > here another round for src/readelf.c. I think they are simple, but I'm > not happy with the advance_pc() commit. I'm open for suggestions here > but I can't come up with something better right now. I'll keep looking > in to t

[Bug debuginfod/27277] support HEAD query for debuginfod content probe requests

2021-02-01 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27277 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #1 f