[oe] building qemu on x86_64 host for a ixp4xx target

Robert Wörle robert at linuxdevelopment.de
Thu Oct 18 05:04:32 UTC 2007


Dear List

I am failing to get qemu-native build on my x86_64 host for a arm ixp4xx
target.
Building qemu-native for a i686 target worked fine.

it fails like this:
make -C i386-linux-user all
| make[1]: Entering directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/i386-linux-user'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/i386-linux-user'
| make -C arm-linux-user all
| make[1]: Entering directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/arm-linux-user'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/arm-linux-user'
| make -C armeb-linux-user all
| make[1]: Entering directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/armeb-linux-user'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/armeb-linux-user'
| make -C sparc-linux-user all
| make[1]: Entering directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/sparc-linux-user'
| gcc -isystem/home/bob/oe/ixp425/tmp/staging/x86_64-linux/include -Os
-Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/target-sparc
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/linux-user
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/linux-user/sparc
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/fpu
-I/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/slirp
   -c -o translate-op.o
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/translate-op.c
|
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/translate-op.c:
In function 'dyngen_code':
|
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/translate-op.c:37:
error: expected declaration or statement at end of input
|
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/translate-op.c:37:
error: expected declaration or statement at end of input
|
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/translate-op.c:37:
error: expected declaration or statement at end of input
| make[1]: *** [translate-op.o] Error 1
| make[1]: Leaving directory
`/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/qemu/sparc-linux-user'
| make: *** [subdir-sparc-linux-user] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: Task failed:
/home/bob/oe/ixp425/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/temp/log.do_compile.16092
NOTE: package qemu-native-0.9.0+cvs20070613-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting


should i hack-fix the translate-op.c:37 ??? or is there a cleaner way to
help here ?

Regards rob_w




More information about the Openembedded-devel mailing list