public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Robin Atwood <robin@binro.org>
To: kvm@vger.kernel.org
Subject: KVM compile fails on s390x
Date: Thu, 31 Jul 2008 21:07:38 +0700	[thread overview]
Message-ID: <200807312107.39200.robin@binro.org> (raw)

I guess I am doing something very dumb, but when I try to compile kvm-72 on 
z900 architecture (actually Hercules) I immediately get a compile error:

zgentoo kvm-72 # ./configure --disable-gfx-check --disable-sdl
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/tmp/kvm-72/qemu
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS       -march=z900
make              make
install           install
host CPU          s390
host big endian   yes
target list       i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu 
m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu 
ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu 
sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user 
arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user 
mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user 
ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user 
sparc64-linux-user sparc32plus-linux-user
gprof enabled     no
profiler          no
static build      no
-Werror enabled   no
SDL support       no
curses support    yes
mingw32 support   no
Audio drivers     oss
Extra audio cards
Mixer emulation   no
VNC TLS support   no
kqemu support     no
kvm support       no
CPU emulation     yes
brlapi support    no
Documentation     yes
NPTL support      yes
vde support       no
zgentoo kvm-72 # make
make -C libkvm
make[1]: Entering directory `/var/tmp/kvm-72/libkvm'
gcc -MMD -MF ./.libkvm.d -g -fomit-frame-pointer -Wall  -fno-stack-protector   -I /var/tmp/kvm-72/kernel/include   -c -o 
libkvm.o libkvm.c
libkvm.c: In function 'kvm_run':
libkvm.c:1003: warning: label 'more' defined but not used
gcc -MMD -MF ./.libkvm-s390.d -g -fomit-frame-pointer -Wall  -fno-stack-protector   -I /var/tmp/kvm-72/kernel/include   -c -o 
libkvm-s390.o libkvm-s390.c
libkvm-s390.c: In function 'kvm_show_regs':
libkvm-s390.c:63: error: 'struct kvm_regs' has no member named 'gprs'
libkvm-s390.c:64: error: 'struct kvm_regs' has no member named 'gprs'
libkvm-s390.c:65: error: 'struct kvm_regs' has no member named 'gprs'
.... <snip> ....

Obviously some s390-specific equates are missing but I can't find any options 
to enable them and the arch seems correctly detected. The kernel is 2.6.26.

TIA
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









             reply	other threads:[~2008-07-31 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 14:07 Robin Atwood [this message]
2008-08-01 12:09 ` KVM compile fails on s390x Christian Borntraeger
2008-08-01 12:20   ` Daniel P. Berrange
2008-08-01 12:32     ` Christian Borntraeger
2008-08-01 13:19       ` Robin Atwood
2008-08-02 12:00   ` Robin Atwood
2008-08-04 11:02     ` Christian Borntraeger

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=200807312107.39200.robin@binro.org \
    --to=robin@binro.org \
    --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