From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62905 invoked by alias); 4 Jul 2019 00:56:08 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 62805 invoked by uid 89); 4 Jul 2019 00:56:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:667 X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Jul 2019 00:56:07 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D32B33086272; Thu, 4 Jul 2019 00:56:05 +0000 (UTC) Received: from redhat.com (ovpn-118-11.phx2.redhat.com [10.3.118.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B4A2A7C576; Thu, 4 Jul 2019 00:56:05 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.92) (envelope-from ) id 1hiq2e-0007xX-Az; Wed, 03 Jul 2019 20:56:04 -0400 Date: Thu, 04 Jul 2019 00:56:00 -0000 From: "Frank Ch. Eigler" To: Omar Sandoval Cc: elfutils-devel@sourceware.org Subject: Re: [RFC PATCH 0/2] elfutils: don't use dlopen() for libebl modules Message-ID: <20190704005604.GD28142@redhat.com> References: <20190703213342.GB28142@redhat.com> <20190703213750.GA5055@vader> <20190703213953.GC28142@redhat.com> <20190703214609.GB5055@vader> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190703214609.GB5055@vader> User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 04 Jul 2019 00:56:05 +0000 (UTC) X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00016.txt.bz2 Hi - > Some of the binaries use libebl, and although libebl is linked into libdw.so, > the libebl symbols are not exported by libdw. So, libebl is linked in > statically for the binaries. > > This is why I suggested exporting those symbols from libdw.so. (I also > considered adding a libebl.so, but that would have a circular dependency with > libdw.so, so they might as well be combined). Ah, thanks for the (re-)explanation. IMHO, if the API is useful enough to be used by mainline elfutils binaries, it is useful enough to be used by others. So a +1 from me for solib-exporting them. - FChE