[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Build errors

From: Thomas Schwinge
Subject: [Qemu-devel] Build errors
Date: Mon, 25 Oct 2004 18:56:21 +0200
User-agent: Mutt/


Yesterday, I tried to build the latest CVS version of QEMU, but failed:

CFLAGS set to '-Os -pipe -march=athlon-xp'
gcc -I/package/misc/spf/qemu-20041024T153139Z-1/spf/sdl/include 
-I/package/misc/spf/qemu-20041024T153139Z-1/spf/zlib/include -O2 
-fno-strict-aliasing -Os -pipe -march=athlon-xp -fomit-frame-pointer -I. 
-I/tmp/build/qemu/qemu-20041024T153139Z -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -I/tmp/build/qemu/qemu-20041024T153139Z/slirp -c -o 
helper2.o /tmp/build/qemu/qemu-20041024T153139Z/target-i386/helper2.c
/tmp/build/qemu/qemu-20041024T153139Z/softmmu_template.h: In function 
/tmp/build/qemu/qemu-20041024T153139Z/softmmu_template.h:223: error: unable to 
find a register to spill in class `GENERAL_REGS'
/tmp/build/qemu/qemu-20041024T153139Z/softmmu_template.h:223: error: this is 
the insn:
(insn:HI 306 426 307 13 (parallel [
            (set (reg:DI 0 ax [176])
                (lshiftrt:DI (reg/v:DI 59 [ val ])
                    (subreg:QI (reg:SI 185) 0)))
            (clobber (scratch:SI))
            (clobber (reg:CC 17 flags))
        ]) 306 {lshrdi3_1} (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_UNUSED (scratch:SI)
/tmp/build/qemu/qemu-20041024T153139Z/softmmu_template.h:223: confused by 
earlier errors, bailing out
make[1]: *** [helper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 
make: *** [all] Error 1

CFLAGS unset
gcc  -static -Wl,-T,/tmp/build/qemu/qemu-20041025T160836Z/i386-vl.ld  -o 
qemu-fast vl.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o 
block-qcow.o aes.o block-vmdk.o block-cloop.o ide.o ne2000.o pckbd.o vga.o 
sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o 
cirrus_vga.o gdbstub.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o 
slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o 
slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o 
slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o 
slirp/tftp.o libqemu.a -L/package/misc/spf/qemu-20041025T160836Z-1/spf/sdl/lib 
-Wl,-R,/package/misc/spf/qemu-20041025T160836Z-1/spf/zlib/lib -lm -lz  -lutil
slirp/misc.o(.text+0x24): In function `getouraddr':
: warning: Using 'gethostbyname' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/package/misc/spf/gcc-3.4.2-2/spf/ld: BFD 20040927 assertion fail 
/package/misc/spf/gcc-3.4.2-2/spf/ld: qemu-fast: Not enough room for program 
headers (allocated 5, need 6)
/package/misc/spf/gcc-3.4.2-2/spf/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory 
make: *** [all] Error 1

The same errors happen with any combination of binutils-2.15 or
binutils- and gcc-3.3.5 or gcc-3.4.2.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]