qemu-native build fail

Daniel.Li lida_mail at 163.com
Sun May 3 10:06:44 CEST 2009


Dear List,

I have found that qemu-native failed with gcc 3.4, see below.
Originally, qemu failed with 4.* gcc, now qemu is ok with gcc3.4 but
qemu-native failed. 

I googled, only found this http://pastebin.com/f75407ece# , which seems
failed on 20 Apr.

Now, I'm confused. Is there anyone can help me out this problem?  I'm
build fso-gta02-testing-image, with Jaunty (ubuntu 9.04). Thanks.

NOTE: Running task 241 of 253 (ID:
8, /home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb, do_compile)
NOTE: package qemu-native-0.9.1+svnr4242-r15: task do_compile: started
ERROR: function do_compile failed
ERROR: see log
in /home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/temp/log.do_compile.10467
NOTE: Task
failed: /home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/temp/log.do_compile.10467
NOTE: package qemu-native-0.9.1+svnr4242-r15: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build
of /home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb do_compile failed
ERROR: Task 8
(/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 240 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb' failed



>From log, we can see

gcc-3.4 -I. -I..
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386 -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg/i386 -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/slirp -isystem/home/daniel/work4/fso/fso-testing/tmp/staging/i686-linux/usr/include -O2 -Wall -O2 -g -fno-strict-aliasing  -m32 -c -o kqemu.o /home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/kqemu.c
gcc-3.4 -Wall -O2 -g -fno-strict-aliasing  -fno-reorder-blocks
-fno-gcse    -fno-optimize-sibling-calls  -fno-crossjumping
-fno-align-labels  -fno-align-jumps  -fno-align-functions
-mpreferred-stack-boundary=2 -fomit-frame-pointer  -m32 -I. -I..
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386 -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg/i386 -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/slirp -c -o op.o /home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386/op.c
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h: In function `op_pshufw_mmx':
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: error: unable to find a
register to spill in class `GENERAL_REGS'
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: error: this is the insn:
(insn:HI 18 17 19
0 /home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386/ops_sse.h:592 (set (strict_low_part (subreg:HI (reg/v:DI 58 [ r ]) 0))
        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 62)
                    (const_int 2 [0x2]))
                (reg/v/f:SI 60 [ s ])) [0 <variable>._w S2 A16])) 54
{*movstricthi_1} (insn_list 16 (insn_list 12 (insn_list 50 (nil))))
    (expr_list:REG_DEAD (reg:SI 62)
        (nil)))
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: confused by earlier
errors, bailing out
make[1]: *** [op.o] Error 1
make[1]: Leaving directory
`/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
FATAL: oe_runmake failed

-- 
Daniel.Li <lida_mail at 163.com>
PALFocus (http://palfocus.oicp.net)






More information about the community mailing list