On Fri, Mar 27, 2015 at 8:08 PM, Michael Tokarev <[email protected]> wrote:
> 27.03.2015 14:24, YunQiang Su wrote:
> []
>>> changes are neded for configure.  I wont enable it for
>>
>> I don't think so.
>> I didn't see any changes for mips64 in tcg/* in 2.2 and 2.3.
>> So if withouth this option, it will ftbfs on mips64el.
>
> Hm.. Can you be a bit more specific, what the problem is that,

I means qemu build on mips64 aka, on host mips64el.

> why this option is needed?  Maybe we should enable it
> automatically upstream (for 2.3 version which is about to be
> released)?

tcg hasn't port to mips64, so we need -enable-tcg-interpreter to use tci.


cc -I/home/syq/qemu2.2/qemu-2.2+dfsg/tcg
-I/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/mips
-I/home/syq/qemu2.2/qemu-2.2+dfsg/linux-headers
-I/home/syq/qemu2.2/qemu-2.2+dfsg/qemu-build/linux-headers -I.
-I/home/syq/qemu2.2/qemu-2.2+dfsg
-I/home/syq/qemu2.2/qemu-2.2+dfsg/include
-I/home/syq/qemu2.2/qemu-2.2+dfsg/tcg -Itcg -I/usr/include/pixman-1
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -fno-common -g -O2
-fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2
-DCONFIG_QEMU_DATAPATH='"/usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu"'
-DVENDOR_DEBIAN  -Wendif-labels -Wmissing-include-dirs -Wempty-body
-Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1
-I/usr/include/p11-kit-1    -I/usr/include/libpng12
-I/usr/include/libusb-1.0    -I../linux-headers -I..
-I/home/syq/qemu2.2/qemu-2.2+dfsg/target-arm -DNEED_CPU_H
-I/home/syq/qemu2.2/qemu-2.2+dfsg/include -MMD -MP -MT tcg/tcg.o -MF
tcg/tcg.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
-I/usr/include/glib-2.0
-I/usr/lib/mips64el-linux-gnuabi64/glib-2.0/include  -g   -c -o
tcg/tcg.o /home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg.c
In file included from /home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg.c:49:0:
/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg-op.h: In function ‘tcg_gen_andi_i64’:
/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg-op.h:1104:13: error:
‘TCG_TARGET_HAS_ext8u_i64’ undeclared (first use in this function)
         if (TCG_TARGET_HAS_ext8u_i64) {
             ^
/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg-op.h:1104:13: note: each
undeclared identifier is reported only once for each function it
appears in
/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg-op.h:1110:13: error:
‘TCG_TARGET_HAS_ext16u_i64’ undeclared (first use in this function)
         if (TCG_TARGET_HAS_ext16u_i64) {
             ^
/home/syq/qemu2.2/qemu-2.2+dfsg/tcg/tcg-op.h:1116:13: error:
‘TCG_TARGET_HAS_ext32u_i64’ undeclared (first use in this function)
         if (TCG_TARGET_HAS_ext32u_i64) {


>
> Thanks,
>
> /mjt



-- 
YunQiang Su

Attachment: qemu-mips64.txt.xz
Description: Binary data

Reply via email to