From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: Re: kvm-87 fails to compile under uClibc Date: Wed, 08 Jul 2009 20:34:22 +0300 Message-ID: <1247074462.13629.30.camel@localhost.localdomain> References: <1246934566.27337.65.camel@localhost.localdomain> <4A53117E.8050305@redhat.com> <1246966290.32432.24.camel@localhost.localdomain> <4A5334FC.50100@redhat.com> <1247072361.13629.15.camel@localhost.localdomain> <4A54D266.9020001@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0q04Sa+T7zMIuK6EmlwA" Cc: kvm To: Avi Kivity Return-path: Received: from bavaria.utcluj.ro ([193.226.5.35]:65403 "EHLO bavaria.utcluj.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753357AbZGHRej (ORCPT ); Wed, 8 Jul 2009 13:34:39 -0400 In-Reply-To: <4A54D266.9020001@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --=-0q04Sa+T7zMIuK6EmlwA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2009-07-08 at 20:07 +0300, Avi Kivity wrote: > On 07/08/2009 07:59 PM, Cristi Magherusan wrote: > >> You can reduce qemu size by not compiling tcg; that'll save you a lot > >> more than the kernel. > >> =20 > > How do I disable it? is it the --disable-cpu-emulation configure flag? > > Unfortunately that one breaks compilation, and I reproduced this both i= n > > my system and inside the buildroot toolchain that I'm using. > > =20 >=20 > It doesn't work now but I certainly want it to. If you can come up with=20 > a simple patch I'll apply it. >=20 > $ size x86_64-softmmu/tcg/*.o x86_64-softmmu/fpu/*.o=20 > x86_64-softmmu/translate*.o x86_64-softmmu/helper.o > text data bss dec hex filename > 79296 2880 24 82200 14118 =20 > x86_64-softmmu/tcg/tcg.o > 316 0 0 316 13c =20 > x86_64-softmmu/tcg/tcg-runtime.o > 3575 0 0 3575 df7 =20 > x86_64-softmmu/fpu/softfloat-native.o > 723 0 8 731 2db =20 > x86_64-softmmu/translate-all.o > 367810 0 88 367898 59d1a =20 > x86_64-softmmu/translate.o > 15553 1232 16 16801 41a1 =20 > x86_64-softmmu/helper.o >=20 > There's almost half a meg here. >=20 Thanks, Actually I think that stripped and LZMA'd it should make a little less difference. If I get tight and willing to remove cruft I know where I can cut off, and then I'll try to patch it unless someone does it first. I'd appreciate more something that wouldn't compile the kernel modules at all :) Also, what is extboot used for? Can I ommit it from my build? Regards, Cristi --=20 Ing. Cristi M=C4=83gheru=C8=99an, System/Network Engineer Technical University of Cluj-Napoca, Romania http://cc.utcluj.ro +40264 401247 --=-0q04Sa+T7zMIuK6EmlwA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpU2J4ACgkQfwrBISYVZFUxvACfUvw6jZBNMcUcgFk100rUqNKO dOgAmwRQhqqKZylWlTjVhkASdZ048ycm =Z3B4 -----END PGP SIGNATURE----- --=-0q04Sa+T7zMIuK6EmlwA--