kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: paolo pedaletti <paolo.pedaletti@gmail.com>
To: kvm@vger.kernel.org
Subject: how to compile kvm 64 bit
Date: Thu, 04 Dec 2008 16:24:37 +0100	[thread overview]
Message-ID: <4937F635.1050501@gmail.com> (raw)

Ciao,
sorry for this silly question, but I can't compile kvm-79 for AMD 64bit

Linux 2.6.27-9-server, ubuntu 8.10
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+


root@kvm1:/usr/src/kvm-79# ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /usr/src/kvm-79/qemu
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS       -m64
make              make
install           install
host CPU          x86_64
host big endian   no
target list       x86_64-softmmu
gprof enabled     no
sparse enabled    no
profiler          no
static build      no
-Werror enabled   no
SDL support       yes
SDL static link   yes
curses support    yes
mingw32 support   no
Audio drivers     oss
Extra audio cards
Mixer emulation   no
VNC TLS support   no
kqemu support     no
kvm support       yes
CPU emulation     yes
brlapi support    no
Documentation     no
NPTL support      yes
vde support       yes
AIO support       yes
KVM support       yes

root@kvm1:/usr/src/kvm-79# make
make -C libkvm
make[1]: Entering directory `/usr/src/kvm-79/libkvm'
gcc -march=i686    -mcpu=i686    -malign-functions=4 -O2 -m64
-D__x86_64__ -MMD -MF ./.libkvm-x86.d -g -fomit-frame-pointer -Wall
-fno-stack-protector   -I /usr/src/kvm-79/kernel/include   -c -o
libkvm-x86.o libkvm-x86.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
libkvm-x86.c:1: error: CPU you selected does not support x86-64
instruction set
libkvm-x86.c:1: warning: -malign-functions is obsolete, use
-falign-functions
make[1]: *** [libkvm-x86.o] Error 1
make[1]: Leaving directory `/usr/src/kvm-79/libkvm'
make: *** [libkvm] Error 2

it use i686

witch command line parameter should I use?

thank you.


-- 
Paolo Pedaletti


             reply	other threads:[~2008-12-04 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 15:24 paolo pedaletti [this message]
2008-12-04 16:31 ` how to compile kvm 64 bit Charles Duffy
2008-12-05  8:15   ` paolo pedaletti
     [not found] ` <aa2a0fc0812040839o513aa4edqbb07f8b88d140322@mail.gmail.com>
2008-12-04 16:41   ` Fwd: " Malinka Rellikwodahs
2008-12-05  8:27     ` paolo pedaletti
2008-12-05 16:09       ` Hollis Blanchard
2008-12-07  0:17         ` Paolo Pedaletti

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=4937F635.1050501@gmail.com \
    --to=paolo.pedaletti@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;
as well as URLs for NNTP newsgroup(s).