Skip to contentSkip to conversation

SPARC64 fails to build

Qemu-devel Thiemo Seufer 2 participants 2 messages Oct 19, 2007 – Oct 20, 2007

lore
Share & tools
lore
#0 lore raw

SPARC64 currently fails to build:

make[1]: Entering directory /home/ths/qemu/qemu-work/sparc64-linux-user'
gcc-3.4 -g -Wl,-T,/home/ths/qemu/qemu-work/ppc.ld -o qemu-sparc64 main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o elfload.o linuxload.o elfload32.o libqemu.a gdbstub.o -lm -lrt
libqemu.a(translate.o): In function gen_intermediate_code_internal':
/home/ths/qemu/qemu-work/target-sparc/translate.c:1621: undefined reference to gen_op_fxtod' /home/ths/qemu/qemu-work/target-sparc/translate.c:1616: undefined reference to gen_op_fxtos'
collect2: ld returned 1 exit status
make[1]: *** [qemu-sparc64] Error 1
make[1]: Leaving directory /home/ths/qemu/qemu-work/sparc64-linux-user'
make: *** [subdir-sparc64-linux-user] Error 2

Thiemo

#1 lore raw
Quoted 11 lines · Thiemo Seufer

SPARC64 currently fails to build:

make[1]: Entering directory /home/ths/qemu/qemu-work/sparc64-linux-user'
gcc-3.4 -g -Wl,-T,/home/ths/qemu/qemu-work/ppc.ld -o qemu-sparc64 main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o elfload.o linuxload.o elfload32.o libqemu.a gdbstub.o -lm -lrt
libqemu.a(translate.o): In function gen_intermediate_code_internal':
/home/ths/qemu/qemu-work/target-sparc/translate.c:1621: undefined reference to gen_op_fxtod' /home/ths/qemu/qemu-work/target-sparc/translate.c:1616: undefined reference to gen_op_fxtos'
collect2: ld returned 1 exit status
make[1]: *** [qemu-sparc64] Error 1
make[1]: Leaving directory /home/ths/qemu/qemu-work/sparc64-linux-user'
make: *** [subdir-sparc64-linux-user] Error

I see, PPC host specific USE_INT_TO_FLOAT_HELPERS case is not handled correctly. Thanks for the report.