qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid


From: David Barrett
Subject: Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid
Date: Thu, 20 Mar 2008 22:38:20 -0700
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Blue Swirl wrote:
On 3/17/08, David Barrett <address@hidden> wrote:
To be clear, I'm not at all surprised this doesn't compile on my server.
  I have a custom 2.6 kernel injected into a 2.4 distribution running a
 bunch of ancient libraries and -- *gasp* -- I'm having trouble
 compiling.  (As you might guess, this isn't by choice.)  I don't
 honestly expect to get this to work, but on the off chance that it's
 obvious to somebody, can you suggest any way to get past this compile error?

Could you test the attached patch? It's not a real fix, but I'm trying
to find the range of instructions that need to be converted to TCG. If
the compile fails, please report the error message.

Well, it gets a lot further now, and compilation stops here:

In file included from /tmp/qemu-0.9.1/target-sparc/op.c:123:
/tmp/qemu-0.9.1/target-sparc/fop_template.h: In function `op_load_fpr_QT0_fprf0': /tmp/qemu-0.9.1/target-sparc/fop_template.h:91: Unable to find a register to spill in class `SIREG'.
/tmp/qemu-0.9.1/target-sparc/fop_template.h:91: This is the insn:
(insn 35 34 36 (parallel[
            (set (reg:SI 2 ecx [49])
                (const_int 0 [0x0]))
            (set (reg/f:SI 1 edx [47])
                (plus:SI (ashift:SI (reg:SI 2 ecx [49])
                        (const_int 2 [0x2]))
                    (reg/f:SI 1 edx [47])))
            (set (reg/f:SI 0 eax [48])
                (plus:SI (ashift:SI (reg:SI 2 ecx [49])
                        (const_int 2 [0x2]))
                    (reg/f:SI 0 eax [48])))
            (set (mem/s:BLK (reg/f:SI 1 edx [47]) 0)
                (mem/s:BLK (reg/f:SI 0 eax [48]) 0))
            (use (reg:SI 2 ecx [49]))
            (use (reg:SI 19 dirflag))
] ) 394 {rep_movsi} (insn_list 29 (insn_list 31 (insn_list 32 (insn_list 34 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_UNUSED (reg:SI 2 ecx [49])
            (expr_list:REG_UNUSED (reg/f:SI 1 edx [47])
                (expr_list:REG_UNUSED (reg/f:SI 0 eax [48])
                    (nil))))))
/tmp/qemu-0.9.1/target-sparc/fop_template.h:91: confused by earlier errors, bailing out

-david





reply via email to

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