Re: [PATCH] Avoid dlopen on debuginfod-client when not configured

2022-03-31 Thread Mark Wielaard
Hi Dirk, On Tue, 2022-03-29 at 13:06 +0200, Dirk Müller wrote: > Am Di., 29. März 2022 um 09:42 Uhr schrieb Mark Wielaard < > m...@klomp.org>: > > The patch itself looks right. But I am slightly afraid this > > (theoretically?) will break some programs which set DEBUGINFOD_URLS > > themselves. We

Re: [PATCH] Avoid dlopen on debuginfod-client when not configured

2022-03-29 Thread Dirk Müller
Hi Mark, Am Di., 29. März 2022 um 09:42 Uhr schrieb Mark Wielaard : > I assume this is because debuginfod-client loads and initializes > libcurl, which triggers crypto checks for https support? Yes, the dependencies of the DSO contain libcurl and other libraries including the openssl library, wh

Re: [PATCH] Avoid dlopen on debuginfod-client when not configured

2022-03-29 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > > Avoid dlopen() when no debuginfo url is set. > > The patch itself looks right. But I am slightly afraid this > (theoretically?) will break some programs which set DEBUGINFOD_URLS > themselves. We currently have no other way to make libdwfl use > debuginfod-client. Thoughts? I've been th

Re: [PATCH] Avoid dlopen on debuginfod-client when not configured

2022-03-29 Thread Mark Wielaard
Hi Dirk, On Mon, Mar 28, 2022 at 11:36:41PM +0200, Dirk Müller wrote: > Loading debuginfod-client is expensive, especially when > FIPS is enabled, as it goes through time intensive self-checks > on load. I assume this is because debuginfod-client loads and initializes libcurl, which triggers cryp