From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Luj2v-0003PH-2s for qemu-devel@nongnu.org; Fri, 17 Apr 2009 04:03:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Luj2t-0003Oq-AI for qemu-devel@nongnu.org; Fri, 17 Apr 2009 04:03:36 -0400 Received: from [199.232.76.173] (port=36843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Luj2t-0003Ol-4F for qemu-devel@nongnu.org; Fri, 17 Apr 2009 04:03:35 -0400 Received: from naru.obs2.net ([84.20.150.76]:58424) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Luj2s-0001XX-I7 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 04:03:34 -0400 Received: from kos.to (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by narury.org (Postfix) with ESMTP id EB31E3274004 for ; Fri, 17 Apr 2009 11:03:31 +0300 (EEST) Date: Fri, 17 Apr 2009 11:03:31 +0300 From: Riku Voipio Subject: Re: [Qemu-devel] [7118] linux-user: prefer glibc over direct syscalls Message-ID: <20090417080331.GA23665@kos.to> References: <200904170116.28578.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904170116.28578.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Apr 17, 2009 at 01:16:28AM +0100, Paul Brook wrote: > On Wednesday 15 April 2009, Aurelien Jarno wrote: > > +# Check for xxxat() functions when we are building linux-user > > +# emulator. > > +if [ "$linux_user" = "yes" ] ; then > This is wrong. $linux_user only indicates whether the linux usermode targets > are built by default. It can be overridden by --target-list. linux_user is default yes linux host and is only removed with --disable-linux-user. So, to expose this wrongness one would have to configure with --disable-linux-user --target-list="foo-linux-user" I guess we can still drop the $linux_user test and run it anyway, same way tests only needed for system-qemu (gnutls, sasl..) are run even when configuring for a linux-user targets build.