Re: kvm-87 fails to compile under uClibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux