From: Serge Leschinsky <serge.leschinsky@gmail.com>
To: kvm@vger.kernel.org
Subject: error: PIC register 'ebx' clobbered in 'asm'
Date: Thu, 18 Dec 2008 12:45:47 -0800 [thread overview]
Message-ID: <494AB67B.9090906@gmail.com> (raw)
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
next reply other threads:[~2008-12-18 20:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 20:45 Serge Leschinsky [this message]
2008-12-24 10:19 ` error: PIC register 'ebx' clobbered in 'asm' Avi Kivity
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=494AB67B.9090906@gmail.com \
--to=serge.leschinsky@gmail.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