Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-08 Thread Dmitry V. Levin
Hi Mark, On Wed, Dec 09, 2020 at 12:07:04AM +0100, Mark Wielaard wrote: > Hi Dmitry, > > On Tue, Dec 08, 2020 at 06:15:40PM +0300, Dmitry V. Levin wrote: > > On Tue, Dec 08, 2020 at 01:02:41PM +0100, Mark Wielaard wrote: > > > On Sun, 2020-12-06 at 15:28 +0300, Dmitry V. Levin wrote: > > > > On S

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-08 Thread Mark Wielaard
Hi Dmitry, On Tue, Dec 08, 2020 at 06:15:40PM +0300, Dmitry V. Levin wrote: > On Tue, Dec 08, 2020 at 01:02:41PM +0100, Mark Wielaard wrote: > > On Sun, 2020-12-06 at 15:28 +0300, Dmitry V. Levin wrote: > > > On Sun, Dec 06, 2020 at 01:06:42PM +0100, Mark Wielaard wrote: > [...] > > > > Finally, I

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-08 Thread Dmitry V. Levin
On Tue, Dec 08, 2020 at 01:02:41PM +0100, Mark Wielaard wrote: > On Sun, 2020-12-06 at 15:28 +0300, Dmitry V. Levin wrote: > > On Sun, Dec 06, 2020 at 01:06:42PM +0100, Mark Wielaard wrote: [...] > > > Finally, I am actually using the Makefile VERSION variable in a > > > downstream (DTS) to make su

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-08 Thread Dmitry V. Levin
On Tue, Dec 08, 2020 at 01:02:41PM +0100, Mark Wielaard wrote: > On Sun, 2020-12-06 at 15:28 +0300, Dmitry V. Levin wrote: > > On Sun, Dec 06, 2020 at 01:06:42PM +0100, Mark Wielaard wrote: [...] > > > Don't we need both versioned and versionless names (at least dwfl tries > > > the versioned one f

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-08 Thread Mark Wielaard
On Sun, 2020-12-06 at 15:28 +0300, Dmitry V. Levin wrote: > Hi Mark, > > On Sun, Dec 06, 2020 at 01:06:42PM +0100, Mark Wielaard wrote: > > Hi Dmitry, > > > > On Mon, 2020-11-30 at 09:00 +, Dmitry V. Levin wrote: > > > Add DEBUGINFOD_SONAME macro to API for use by those of libdebuginfod > > >

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-06 Thread Dmitry V. Levin
On Sun, Dec 06, 2020 at 08:32:43AM -0500, Frank Ch. Eigler wrote: > Hi - > > > Thanks, I think libdwfl/debuginfod-client.c should use the versioned name > > only, and it shouldn't fallback to "libdebuginfod.so" as it does now. > > I believe the code falls back to the unversioned soname because on

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-06 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > Thanks, I think libdwfl/debuginfod-client.c should use the versioned name > only, and it shouldn't fallback to "libdebuginfod.so" as it does now. I believe the code falls back to the unversioned soname because only that is available in the build tree (as opposed to the install tree). - FC

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-06 Thread Dmitry V. Levin
Hi Mark, On Sun, Dec 06, 2020 at 01:06:42PM +0100, Mark Wielaard wrote: > Hi Dmitry, > > On Mon, 2020-11-30 at 09:00 +, 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 > > __li

Re: [PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-12-06 Thread Mark Wielaard
Hi Dmitry, On Mon, 2020-11-30 at 09:00 +, 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. I can see how this is useful, but shouldn't libdwfl/debu

[PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

2020-11-30 Thread Dmitry V. Levin
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. Signed-off-by: Dmitry V. Levin --- ChangeLog| 5 + configure.ac