qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Liebergeld <usenet@gmx.eu>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Cross compiling qemu for ARM
Date: Fri, 28 Nov 2008 11:55:39 +0000 (UTC)	[thread overview]
Message-ID: <ggom7r$k8o$1@ger.gmane.org> (raw)
In-Reply-To: ggog85$nk$1@ger.gmane.org

Hi (again),
Steffen Liebergeld <usenet@gmx.eu> schrieb:
> Hi,
>
> I'm trying to get Qemu 0.9.1 cross compiled for the ARM platform.
>
> I have been using these configure flags:
> --target-list=arm-softmmu
> --source-path=$HOME/Source/qemu-0.9.1/
> --cross-prefix=arm-linux-
> --static
> --host-cc=/usr/bin/gcc-3.4
> --prefix=$HOME/Binary/qemu/
> --disable-linux-user
> --disable-darwin-user
> --disable-sdl
> --disable-gfx-check

I forgot those:
--cpu=armv4l
and:
--extra-cflags=-I$HOME/Build/arm/buildroot/build_arm/zlib-1.2.3
--extra-ldflags=-L$HOME/Build/arm/buildroot/build_arm/zlib-1.2.3

Which solve my zlib related problem.

Now the build stops like this:
make[1]: Entering directory `/home/s1010824/Build/arm/qemu/arm-softmmu'                                          
arm-linux-gcc -Wall -O2 -g -fno-strict-aliasing  -fno-reorder-blocks  -fno-gcse    -fno-optimize-sibling-calls   
 -fno-align-labels  -fno-align-jumps  -fno-align-functions   -mno-sched-prolog -fno-omit-frame-pointer   -I. -I.. -I/home/s1010824/Source/qemu-0.9.1//target-arm -I/home/s1010824/Source/qemu-0.9.1/ -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/s1010824/Source/qemu-0.9.1//fpu -DHAS_AUDIO -I/home/s1010824/Source/qemu-0.9.1//slirp -c -o op.o /home/s1010824/Source/qemu-0.9.1//target-arm/op.c
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c: In function `op_goto_tb0':
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:369: warning: `used' attribute ignored
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:369: warning: `used' attribute ignored
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:369: warning: unused variable `dummy0'
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:369: warning: unused variable `__op_label0'
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c: In function `op_goto_tb1':
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:374: warning: `used' attribute ignored
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:374: warning: `used' attribute ignored
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:374: warning: unused variable `dummy1'
/home/s1010824/Source/qemu-0.9.1/target-arm/op.c:374: warning: unused variable `__op_label1'
In file included from /home/s1010824/Source/qemu-0.9.1/target-arm/op.c:1923:
/home/s1010824/Source/qemu-0.9.1/target-arm/op_iwmmxt.c: In function `op_iwmmxt_muluw_M0_wRn':
/home/s1010824/Source/qemu-0.9.1/target-arm/op_iwmmxt.c:144: unable to find a register to spill in class `GENERAL_REGS'
/home/s1010824/Source/qemu-0.9.1/target-arm/op_iwmmxt.c:144: this is the insn:
(insn 143 139 201 (set (reg:DI 85)
        (ior:DI (reg:DI 54)
            (reg:DI 82))) 94 {iordi3} (insn_list 142 (insn_list 60 (nil)))
    (expr_list:REG_DEAD (reg:DI 54)
        (expr_list:REG_DEAD (reg:DI 82)
            (nil))))
/home/s1010824/Source/qemu-0.9.1/target-arm/op_iwmmxt.c:144: confused by earlier errors, bailing out
make[1]: *** [op.o] Error 1


I guess this is a bug in gcc? Which version do you use to compile qemu on an ARM host?

Many thanks in advance,
Steffen Liebergeld

  reply	other threads:[~2008-11-28 11:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28 10:13 [Qemu-devel] Cross compiling qemu for ARM Steffen Liebergeld
2008-11-28 11:55 ` Steffen Liebergeld [this message]
2008-11-28 12:07   ` [Qemu-devel] " Laurent Desnogues
2008-11-28 13:09     ` Steffen Liebergeld
2008-11-28 13:21       ` Laurent Desnogues
2008-11-28 13:27 ` [Qemu-devel] " Paul Brook
2008-11-28 14:58   ` [Qemu-devel] " Steffen Liebergeld
2008-11-30  3:01     ` andrzej zaborowski

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='ggom7r$k8o$1@ger.gmane.org' \
    --to=usenet@gmx.eu \
    --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 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).