[PATCH] libdwfl: Do not dlopen libdebuginfod if DEBUGINFOD_URLS is unset or empty
Dmitry V. Levin
ldv@altlinux.org
Wed Dec 9 15:35:23 GMT 2020
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 of other clients, I still believe
> this concern was & is overrated. We could back down to simple
> debuginfod_begin time mutex-protected curl_global_init calls, and we'd
> be as fine as other applications. We could ditch the dlopen /
> dso-ctor issues entirely.
Excuse me, has there been any follow-up to this discussion?
--
ldv
More information about the Elfutils-devel
mailing list