public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Cristi Magherusan <Cristi.Magherusan@net.utcluj.ro>
To: Avi Kivity <avi@redhat.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: Re: kvm-87 fails to compile under uClibc
Date: Wed, 08 Jul 2009 20:34:22 +0300	[thread overview]
Message-ID: <1247074462.13629.30.camel@localhost.localdomain> (raw)
In-Reply-To: <4A54D266.9020001@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]

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.
> >>      
> > How do I disable it? is it the --disable-cpu-emulation configure flag?
> > Unfortunately that one breaks compilation, and I reproduced this both in
> > my system and inside the buildroot toolchain that I'm using.
> >    
> 
> It doesn't work now but I certainly want it to.  If you can come up with 
> a simple patch I'll apply it.
> 
> $ size x86_64-softmmu/tcg/*.o x86_64-softmmu/fpu/*.o 
> x86_64-softmmu/translate*.o x86_64-softmmu/helper.o
>     text       data        bss        dec        hex    filename
>    79296       2880         24      82200      14118    
> x86_64-softmmu/tcg/tcg.o
>      316          0          0        316        13c    
> x86_64-softmmu/tcg/tcg-runtime.o
>     3575          0          0       3575        df7    
> x86_64-softmmu/fpu/softfloat-native.o
>      723          0          8        731        2db    
> x86_64-softmmu/translate-all.o
>   367810          0         88     367898      59d1a    
> x86_64-softmmu/translate.o
>    15553       1232         16      16801       41a1    
> x86_64-softmmu/helper.o
> 
> There's almost half a meg here.
> 
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

-- 
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-07-08 17:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07  2:42 kvm-87 fails to compile under uClibc Cristi Magherusan
2009-07-07  3:21 ` Mike Frysinger
2009-07-07  7:34   ` Bernhard Reutner-Fischer
2009-07-07 11:15     ` Cristi Magherusan
2009-07-07 14:33     ` Mike Frysinger
2009-07-07  9:12 ` Avi Kivity
2009-07-07 11:31   ` Cristi Magherusan
2009-07-07 11:43     ` Avi Kivity
2009-07-08 16:59       ` Cristi Magherusan
2009-07-08 17:07         ` Avi Kivity
2009-07-08 17:34           ` Cristi Magherusan [this message]
2009-07-09  8:20             ` Avi Kivity
2009-07-09 17:58               ` Cristi Magherusan
2009-07-07 14:34     ` Mike Frysinger
2009-07-07 15:31     ` Javier Guerra
2009-07-07 15:58       ` Cristi Magherusan
2009-07-08  6:13 ` Natanael Copa
2009-07-08  8:12   ` Cristi Magherusan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1247074462.13629.30.camel@localhost.localdomain \
    --to=cristi.magherusan@net.utcluj.ro \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox