All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kristian Van Der Vliet <vanders@liqwyd.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Attempting to port Qemu 0.9.0 but it always fails at softmmu_header.h
Date: Wed, 13 Jun 2007 21:01:42 +0100	[thread overview]
Message-ID: <1181764902.5444.11.camel@localhost> (raw)

Hi,

I'm trying to port Qemu 0.9.0 to Syllable (An i386, POSIXish, ELF
system) but the compilation always fails with:

gcc -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2
-fomit-frame-pointer -falign-functions=0 -fno-g
cse -fno-reorder-blocks -fno-optimize-sibling-calls  -I. -I..
-I/home/build/Temp/qemu-0.9.0/target-i386 -I/home/bu
ild/Temp/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/home/build/Temp/qemu-0.9.0/fpu -DH
AS_AUDIO -I/home/build/Temp/qemu-0.9.0/slirp -c -o
op.o /home/build/Temp/qemu-0.9.0/target-i386/op.c
/home/build/Temp/qemu-0.9.0/target-i386/ops_mem.h: In function
`op_ldub_kernel_T0_A0':
../softmmu_header.h:119: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory
`/boot/home/build/Temp/qemu-0.9.0/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2

I am building with GCC 3.4.3, specifically:

Reading specs
from /boot/usr/gcc/bin/../lib/gcc/i586-pc-syllable/3.4.3/specs
Configured with: /local/Temp/Gcc/gcc-3.4.3/./configure --prefix=/usr/gcc
--enable-languages=c,c++ --with-arch=i586
 --enable-sjlj-exceptions --enable-shared --enable-threads
--with-system-zlib --disable-libstdcxx-pch
Thread model: syllable
gcc version 3.4.3

and the configure flags for Qemu I am using are:

./configure --target-list=i386-softmmu --disable-kqemu
--prefix=/usr/qemu

Googling around I can see that this can be a problem with GCC 4.x, and
I've also run into the odd post that mentions a similar problem in a
different header, but that refered to Qemu 0.8. On the off chance I have
also tried compiling with different optimisation flags, including -O &
-O1, but it made no difference.

Can anyone shed any light on why I'm running into this problem? Are
there any patches which may help, or is there anything else I can try?

Thanks in advance.

-- 
Vanders
http://www.syllable.org
http://www.liqwyd.com

                 reply	other threads:[~2007-06-13 20:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1181764902.5444.11.camel@localhost \
    --to=vanders@liqwyd.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.