Received: from eggs.gnu.org ([2001:4830:134:3::10]:50807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0re-0006fz-I0 for qemu-devel@nongnu.org; Mon, 09 Mar 2015 12:49:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV0rY-00023u-U4 for qemu-devel@nongnu.org; Mon, 09 Mar 2015 12:49:10 -0400 Received: from smtp.citrix.com ([66.165.176.89]:61177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0rY-00023d-Q7 for qemu-devel@nongnu.org; Mon, 09 Mar 2015 12:49:04 -0400 Date: Mon, 9 Mar 2015 16:49:02 +0000 From: Wei Liu Message-ID: <20150309164902.GX18491@zion.uk.xensource.com> References: <1425912873-21215-1-git-send-email-wei.liu2@citrix.com> <20150309152312.GV18491@zion.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH RFC] Makefile.target: prepend $libs_softmmu to $LIBS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Wei Liu , QEMU Developers , Stefano Stabellini On Tue, Mar 10, 2015 at 01:36:49AM +0900, Peter Maydell wrote: > On 10 March 2015 at 00:23, Wei Liu wrote: > > On Tue, Mar 10, 2015 at 12:11:44AM +0900, Peter Maydell wrote: > >> Maybe we should actively stop configure allowing a static build > >> of the softmmu and tools binaries, rather than having configs which > >> nobody really tests? Or is there a genuine use case for them? > > > I'm trying to build QEMU as Xen's stubdom. That would certainly require > > static linking. This is a usecase we care. An we can also test this > > configuration after we make everything work and put things into our own > > test system. > > Does that use a custom libc or something? glibc certainly does > not like static linking and warns all over the place about > things in functions in glib which we use in the softmmu case. > Yes, we build every library including libc. Wei. > -- PMM