[PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h
Dmitry V. Levin
ldv@altlinux.org
Tue Dec 8 13:30:18 GMT 2020
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 first, then falls back to the unversioned one).
> >
> > I don't think the versioned name should be exported because it changes
> > in every version while clients don't have to be rebuilt that often.
>
> I am slightly confused now what we call the versioned name. I assumed
> that was the SONAME aka libdebuginfod.so.1. In theory we never change
> the version, because we use symbol versioning. But yes, we only need to
> export one for dlopen purposes.
I meant the fully versioned name which is
libdebuginfod-$(PACKAGE_VERSION).so - nothing outside the elfutils project
itself should use it.
--
ldv
More information about the Elfutils-devel
mailing list