* [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid
@ 2008-03-17 19:57 David Barrett
2008-03-18 17:45 ` Blue Swirl
0 siblings, 1 reply; 3+ messages in thread
From: David Barrett @ 2008-03-17 19:57 UTC (permalink / raw)
To: qemu-devel
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?
In file included from /tmp/qemu-0.9.1/target-i386/op.c:2499:
/tmp/qemu-0.9.1/target-i386/ops_sse.h: In function `op_shufps':
/tmp/qemu-0.9.1/target-i386/ops_sse.h:607: Unable to find a register to
spill in class `SIREG'.
/tmp/qemu-0.9.1/target-i386/ops_sse.h:607: This is the insn:
(insn 72 71 73 (parallel[
(set (reg:SI 2 ecx [66])
(const_int 0 [0x0]))
(set (reg/f:SI 64)
(plus:SI (ashift:SI (reg:SI 2 ecx [66])
(const_int 2 [0x2]))
(reg/v/f:SI 42)))
(set (reg/f:SI 0 eax [65])
(plus:SI (ashift:SI (reg:SI 2 ecx [66])
(const_int 2 [0x2]))
(reg/f:SI 0 eax [65])))
(set (mem/s:BLK (reg/v/f:SI 42) 0)
(mem/s:BLK (reg/f:SI 0 eax [65]) 0))
(use (reg:SI 2 ecx [66]))
(use (reg:SI 19 dirflag))
] ) 394 {rep_movsi} (insn_list 68 (insn_list 69 (insn_list 71
(nil))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_DEAD (reg/v/f:SI 42)
(expr_list:REG_UNUSED (reg:SI 2 ecx [66])
(expr_list:REG_UNUSED (reg/f:SI 64)
(expr_list:REG_UNUSED (reg/f:SI 0 eax [65])
(nil)))))))
/tmp/qemu-0.9.1/target-i386/ops_sse.h:607: confused by earlier errors,
bailing out
I configured it with:
./configure --disable-sdl --disable-gfx-check
Here's my GCC configuration:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr
--infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls
--without-included-gettext --disable-checking --enable-threads=posix
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc
i386-linux
Thread model: posix
gcc version 3.0.4
Thanks for any suggestions you have!
-david
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid
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
0 siblings, 1 reply; 3+ messages in thread
From: Blue Swirl @ 2008-03-18 17:45 UTC (permalink / raw)
To: dbarrett; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 687 bytes --]
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.
[-- Attachment #2: sse_test.diff --]
[-- Type: plain/text, Size: 1556 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Can't compile on whacky 2.6/2.4 hybrid
2008-03-18 17:45 ` Blue Swirl
@ 2008-03-21 5:38 ` David Barrett
0 siblings, 0 replies; 3+ messages in thread
From: David Barrett @ 2008-03-21 5:38 UTC (permalink / raw)
To: Blue Swirl; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-21 5:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).