[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Cross compiling qemu for ARM
From: |
Steffen Liebergeld |
Subject: |
[Qemu-devel] Re: Cross compiling qemu for ARM |
Date: |
Fri, 28 Nov 2008 11:55:39 +0000 (UTC) |
User-agent: |
slrn/pre0.9.9p1-31/mm/ao (Ubuntu Hardy) |
Hi (again),
Steffen Liebergeld <address@hidden> 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