[PATCH] Fix automake warnings

2020-12-09 Thread Dmitry V. Levin
Apparently, commit 2f02e81510946a4c8e9157ad0b72d92894b9acd7 that removed $(EXEEXT) suffix from shared libraries was incomplete: it missed the fact that some libraries were included into noinst_PROGRAMS, resulting to the following automake warnings: libasm/Makefile.am:66: warning: deprecated featur

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-12-09 Thread Dmitry V. Levin
On Wed, Dec 09, 2020 at 11:42:44PM +0100, Mark Wielaard wrote: > Hi Dmitry, > > On Thu, 2020-12-10 at 01:20 +0300, Dmitry V. Levin wrote: > > OK, there was no mystery at all: > > > > $ git grep '_PROGRAMS.*_LIBRARIES' > > libasm/Makefile.am:noinst_PROGRAMS = $(noinst_LIBRARIES:_pic.a=.so) > > lib

Re: [PATCH v3 3/3] libdwfl: switch to DEBUGINFOD_SONAME, remove libdebuginfod.so fallback

2020-12-09 Thread Mark Wielaard
On Wed, 2020-12-09 at 03:13 +0300, Dmitry V. Levin wrote: > Since DEBUGINFOD_SONAME is as good as ("libdebuginfod-" VERSION ".so") > for dlopen, switch to use the name which is a part of the API. > > Given that DEBUGINFOD_SONAME is always available now, remove the no longer > needed fall back to d

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-12-09 Thread Mark Wielaard
Hi Dmitry, On Thu, 2020-12-10 at 01:20 +0300, Dmitry V. Levin wrote: > OK, there was no mystery at all: > > $ git grep '_PROGRAMS.*_LIBRARIES' > libasm/Makefile.am:noinst_PROGRAMS = $(noinst_LIBRARIES:_pic.a=.so) > libdw/Makefile.am:noinst_PROGRAMS = $(noinst_LIBRARIES:_pic.a=.so) > libelf/Makefi

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-12-09 Thread Dmitry V. Levin
On Thu, Dec 10, 2020 at 01:04:14AM +0300, Dmitry V. Levin wrote: > On Wed, Dec 09, 2020 at 08:55:23PM +0100, Mark Wielaard wrote: > > On Sun, 2020-12-06 at 12:49 +0100, Mark Wielaard wrote: > > > On Mon, 2020-11-30 at 21:35 +0100, Mark Wielaard wrote: > > > > On Mon, Nov 30, 2020 at 08:00:00AM +000

Re: [PATCH v3 2/3] debuginfod: create libdebuginfod.so.1 before libdebuginfod.so

2020-12-09 Thread Mark Wielaard
On Wed, 2020-12-09 at 03:30 +0300, Dmitry V. Levin wrote: > On Wed, Dec 09, 2020 at 03:13:12AM +0300, Dmitry V. Levin wrote: > > This would allow to switch from "libdebuginfod-" VERSION ".so" > > to DEBUGINFOD_SONAME in __libdwfl_debuginfod_init, and to remove > > the > > fall back to dlopen of "li

Re: [PATCH v3 1/3] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-09 Thread Mark Wielaard
On Wed, 2020-12-09 at 03:12 +0300, Dmitry V. Levin wrote: > Add DEBUGINFOD_SONAME macro to API for use by those of libdebuginfod > clients that would like to dlopen the library in the same way as > __libdwfl_debuginfod_init does. Pushed. Thanks, Mark

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-12-09 Thread Dmitry V. Levin
On Wed, Dec 09, 2020 at 08:55:23PM +0100, Mark Wielaard wrote: > On Sun, 2020-12-06 at 12:49 +0100, Mark Wielaard wrote: > > On Mon, 2020-11-30 at 21:35 +0100, Mark Wielaard wrote: > > > On Mon, Nov 30, 2020 at 08:00:00AM +, Dmitry V. Levin wrote: > > > > According to GNU Automake documentation

Re: [PATCH] Drop $(EXEEXT) suffix from shared libraries

2020-12-09 Thread Mark Wielaard
On Sun, 2020-12-06 at 12:49 +0100, Mark Wielaard wrote: > On Mon, 2020-11-30 at 21:35 +0100, Mark Wielaard wrote: > > On Mon, Nov 30, 2020 at 08:00:00AM +, Dmitry V. Levin wrote: > > > According to GNU Automake documentation [1], $(EXEEXT) is the > > > suffix > > > that should be used for execu

Re: [PATCH] libdwfl: Do not dlopen libdebuginfod if DEBUGINFOD_URLS is unset or empty

2020-12-09 Thread Mark Wielaard
On Wed, 2020-12-09 at 18:35 +0300, Dmitry V. Levin wrote: > On Mon, Nov 09, 2020 at 09:57:57AM -0500, Frank Ch. Eigler via Elfutils-devel > wrote: > > > [...] The problem with doing the dlopen late is that we also need > > > libcurl and initializing libcurl (as done by libdebuginfod) is not > > >

Re: [PATCH] libdwfl: Do not dlopen libdebuginfod if DEBUGINFOD_URLS is unset or empty

2020-12-09 Thread Dmitry V. Levin
Hi, On Mon, Nov 09, 2020 at 09:57:57AM -0500, Frank Ch. Eigler via Elfutils-devel wrote: > Hi - > > > [...] The problem with doing the dlopen late is that we also need > > libcurl and initializing libcurl (as done by libdebuginfod) is not > > thread-safe. > > From reading libcurl code, and that

[Bug tools/27041] New: eu-addr2line to support eu-stack -b format (address with {build-id})

2020-12-09 Thread vt at altlinux dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27041 Bug ID: 27041 Summary: eu-addr2line to support eu-stack -b format (address with {build-id}) Product: elfutils Version: unspecified Status: UNCONFIRMED Severi