From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcZxi-00019R-Py for qemu-devel@nongnu.org; Fri, 21 Mar 2008 01:38:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcZxh-00018y-O1 for qemu-devel@nongnu.org; Fri, 21 Mar 2008 01:38:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcZxh-00018v-D3 for qemu-devel@nongnu.org; Fri, 21 Mar 2008 01:38:41 -0400 Received: from quinthar.com ([72.52.120.178]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JcZxg-0000n5-Sc for qemu-devel@nongnu.org; Fri, 21 Mar 2008 01:38:41 -0400 Received: from 70.6.202.73 ([70.6.202.73]) by quinthar.com for ; Thu, 20 Mar 2008 22:38:32 -0700 Message-ID: <47E349CC.4080408@quinthar.com> Date: Thu, 20 Mar 2008 22:38:20 -0700 From: David Barrett MIME-Version: 1.0 Subject: Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid References: <47DECD27.8010908@quinthar.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Blue Swirl wrote: > On 3/17/08, David Barrett 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