From: Julian Chesterfield Subject: Re: why is blktap statically linking it's drivers? Date: Mon, 7 Aug 2006 14:38:34 +0100 Message-ID: <581e219a57e60292b3387fc5d136e687@cam.ac.uk> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Sean Dague List-Id: xen-devel@lists.xenproject.org On 4 Aug 2006, at 20:26, Keir Fraser wrote: > > On 4/8/06 7:19 pm, "Sean Dague" wrote: > >> It took me a bit to realize that the issue I was having with blktap >> compiling in xen-unstable is that it is statically linking libcrypto >> and >> libc into all of the executables in: xen-unstable/tools/blktap/drivers >> >> Is there a reason for this? It means that every one of those >> executables >> ends up at > 1 MB, which seems quite excessive. It also means that >> you need >> static-devel packages on some distros, which tend to not be installed >> by >> default. > > I *think* the intention is to statically link to our own copy of > libaio, but > the -static flag causes us to statically link against all libraries. > The > correct thing might be to explicitly link in libaio.a and remove > -static, > but Julian will know better than me. Yep that's correct, we wanted to avoid libaio conflicts. I'll push an update to the Makefile today. - Julian > > -- Keir > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel