Ticket #75 (new defect)

Opened 7 months ago

Last modified 7 months ago

Q 0.9.1 branch fails to build on i386

Reported by: andreasf Assigned to: mike
Priority: high Milestone: Q-0.9.1aX
Component: Qemu Core (emulation) Version:
Severity: critical Keywords:
Cc:

Description

Compiling through build_i386.sh fails:

gcc -Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic -fomit-frame-pointer -I. -I.. -I/Users/andreas/Q/tmp/qemu/target-sparc -I/Users/andreas/Q/tmp/qemu -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/andreas/Q/tmp/qemu/fpu -I/Users/andreas/Q/tmp/qemu/slirp  -mdynamic-no-pic  -c -o op_helper.o /Users/andreas/Q/tmp/qemu/target-sparc/op_helper.c
../softmmu_template.h: In function ‘__stw_mmu’:
../softmmu_template.h:260: error: unable to find a register to spill in class ‘GENERAL_REGS’
../softmmu_template.h:260: error: this is the insn:
(insn:HI 215 214 216 12 ../softmmu_template.h:276 (parallel [
            (set (reg/v:DI 75 [ physaddr ])
                (plus:DI (reg:DI 85 [ D.5529 ])
                    (mem/s/j:DI (plus:SI (plus:SI (reg:SI 183)
                                (reg:SI 77 [ env.293 ]))
                            (const_int 888 [0x378])) [0 <variable>.addend+0 S8 A32])))
            (clobber (reg:CC 17 flags))
        ]) 186 {*adddi3_1} (insn_list:REG_DEP_TRUE 211 (nil))
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_DEAD (reg:DI 85 [ D.5529 ])
            (expr_list:REG_DEAD (reg:SI 183)
                (expr_list:REG_UNUSED (reg:CC 17 flags)
                    (nil))))))
../softmmu_template.h:260: confused by earlier errors, bailing out
make[1]: *** [op_helper.o] Error 1
make: *** [subdir-sparc-softmmu] Error 2

By nature of the build script, Q.app is generated non-the-less; however running SharpOS-0.0.1.iso crashes the i386-softmmu (regression since last release) and the guest-still-running problem occurs (ticket #15).

Change History

01/16/08 01:36:14 changed by mike

Is this only for the target-sparc?

I have no problem with target-i386 so far. (Building only with target-i386 on a 32bit machine).

SharpOS-0.0.1.iso booted fine.