Re: kvm-87 fails to compile under uClibc

Avi Kivity
2009-07-08T17:05:29Z

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.

--
error compiling committee.c: too many arguments to function