Hello,

I tried to compile kvm and got the following error:
"PIC register 'ebx' clobbered in 'asm'"

Could you please explain me how to fix it?

kvm-81,
linux-2.6.27.9,
gcc -v:
        i686-pc-linux-gnu
        Thread model: posix
        gcc version 4.1.2


make[1]: Entering directory `/data/build/tmp/kvm-81/user'
gcc  -D__i386__ -I /data/build/tmp/kvm-81/kernel/include -m32 -O1 -MMD -MF
test/x86/.vmexit.d -g -fomit-frame-pointer -Wall  -fno-stack-protector   -I
../libkvm -std=gnu99 -ffreestanding -I test/lib -I test/lib/x86   -c -o
test/x86/vmexit.o test/x86/vmexit.c
test/x86/vmexit.c: In function 'main':
test/x86/vmexit.c:30: warning: implicit declaration of function 'printf'
test/x86/vmexit.c:28: error: PIC register 'ebx' clobbered in 'asm'
make[1]: *** [test/x86/vmexit.o] Error 1
make[1]: Leaving directory `/data/build/tmp/kvm-81/user'
make: *** [user] Error 2

Thanks

--
Serge
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to