From: David Barrett <dbarrett@quinthar.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid
Date: Thu, 20 Mar 2008 22:38:20 -0700 [thread overview]
Message-ID: <47E349CC.4080408@quinthar.com> (raw)
In-Reply-To: <f43fc5580803181045w7a4d0af9o93ea1b06d6937737@mail.gmail.com>
Blue Swirl wrote:
> On 3/17/08, David Barrett <dbarrett@quinthar.com> 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
prev parent reply other threads:[~2008-03-21 5:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-17 19:57 [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid David Barrett
2008-03-18 17:45 ` Blue Swirl
2008-03-21 5:38 ` David Barrett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47E349CC.4080408@quinthar.com \
--to=dbarrett@quinthar.com \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).