* [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
@ 2008-01-27 17:18 Brad Campbell
2008-01-27 18:01 ` Stefano Stabellini
0 siblings, 1 reply; 6+ messages in thread
From: Brad Campbell @ 2008-01-27 17:18 UTC (permalink / raw)
To: qemu-devel
G'day all,
Getting this on my two development machines with up-to-date CVS as of now..
I did a complete directory removal and fresh CVS checkout just to be sure.
Configured with..
./configure --target-list=i386-softmmu --enable-alsa
gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I..
-I/tracks/src/src/qemu/target-i386 -I/tracks/src/src/qemu -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/tracks/src/src/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE
-I/tracks/src/src/qemu/slirp -c -o cpu-exec.o /tracks/src/src/qemu/cpu-exec.c
/tracks/src/src/qemu/cpu-exec.c: In function `cmp1':
/tracks/src/src/qemu/cpu-exec.c:143: error: unable to find a register to spill in class `DIREG'
/tracks/src/src/qemu/cpu-exec.c:143: error: this is the insn:
(insn:HI 15 62 16 0 /tracks/src/src/qemu/cpu-exec.c:140 (parallel [
(set (reg:SI 2 cx [64])
(unspec:SI [
(mem:BLK (reg/f:SI 66 [ s2 ]) [0 A8])
(reg:QI 0 ax [68])
(const_int 1 [0x1])
(reg:SI 2 cx [67])
] 20))
(use (reg:SI 19 dirflag))
(clobber (reg/f:SI 66 [ s2 ]))
(clobber (reg:CC 17 flags))
]) 632 {*strlenqi_1} (insn_list 11 (insn_list 12 (insn_list 13 (insn_list 14 (nil)))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_DEAD (reg:SI 2 cx [67])
(expr_list:REG_DEAD (reg:QI 0 ax [68])
(expr_list:REG_DEAD (reg/f:SI 66 [ s2 ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (reg/f:SI 66 [ s2 ])
(expr_list:REG_EQUAL (unspec:SI [
(mem:BLK (reg/f:SI 66 [ s2 ]) [0 A8])
(reg:QI 0 ax [68])
(const_int 1 [0x1])
(reg:SI 2 cx [67])
] 20)
(nil)))))))))
/tracks/src/src/qemu/cpu-exec.c:143: confused by earlier errors, bailing out
make[1]: *** [cpu-exec.o] Error 1
make[1]: Leaving directory `/tracks/src/src/qemu/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
brad@bklaptop2:/tracks/src/src/qemu$ gcc-3.4 --version
gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
2008-01-27 17:18 [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4 Brad Campbell
@ 2008-01-27 18:01 ` Stefano Stabellini
2008-01-27 19:24 ` Carlo Marcelo Arenas Belon
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Stabellini @ 2008-01-27 18:01 UTC (permalink / raw)
To: qemu-devel
I can confirm this, I have the same problem on Kubuntu 7.10 i386 using
either gcc-3.4 or gcc-3.3.
Brad Campbell wrote:
> G'day all,
>
> Getting this on my two development machines with up-to-date CVS as of now..
>
> I did a complete directory removal and fresh CVS checkout just to be sure.
>
> Configured with..
>
> ./configure --target-list=i386-softmmu --enable-alsa
>
>
> gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I..
> -I/tracks/src/src/qemu/target-i386 -I/tracks/src/src/qemu -MMD -MP
> -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/tracks/src/src/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE
> -I/tracks/src/src/qemu/slirp -c -o cpu-exec.o
> /tracks/src/src/qemu/cpu-exec.c
> /tracks/src/src/qemu/cpu-exec.c: In function `cmp1':
> /tracks/src/src/qemu/cpu-exec.c:143: error: unable to find a register to
> spill in class `DIREG'
> /tracks/src/src/qemu/cpu-exec.c:143: error: this is the insn:
> (insn:HI 15 62 16 0 /tracks/src/src/qemu/cpu-exec.c:140 (parallel [
> (set (reg:SI 2 cx [64])
> (unspec:SI [
> (mem:BLK (reg/f:SI 66 [ s2 ]) [0 A8])
> (reg:QI 0 ax [68])
> (const_int 1 [0x1])
> (reg:SI 2 cx [67])
> ] 20))
> (use (reg:SI 19 dirflag))
> (clobber (reg/f:SI 66 [ s2 ]))
> (clobber (reg:CC 17 flags))
> ]) 632 {*strlenqi_1} (insn_list 11 (insn_list 12 (insn_list 13
> (insn_list 14 (nil)))))
> (expr_list:REG_DEAD (reg:SI 19 dirflag)
> (expr_list:REG_DEAD (reg:SI 2 cx [67])
> (expr_list:REG_DEAD (reg:QI 0 ax [68])
> (expr_list:REG_DEAD (reg/f:SI 66 [ s2 ])
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (expr_list:REG_UNUSED (reg/f:SI 66 [ s2 ])
> (expr_list:REG_EQUAL (unspec:SI [
> (mem:BLK (reg/f:SI 66 [ s2 ]) [0
> A8])
> (reg:QI 0 ax [68])
> (const_int 1 [0x1])
> (reg:SI 2 cx [67])
> ] 20)
> (nil)))))))))
> /tracks/src/src/qemu/cpu-exec.c:143: confused by earlier errors, bailing
> out
> make[1]: *** [cpu-exec.o] Error 1
> make[1]: Leaving directory `/tracks/src/src/qemu/i386-softmmu'
> make: *** [subdir-i386-softmmu] Error 2
>
> brad@bklaptop2:/tracks/src/src/qemu$ gcc-3.4 --version
> gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Brad
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
2008-01-27 18:01 ` Stefano Stabellini
@ 2008-01-27 19:24 ` Carlo Marcelo Arenas Belon
2008-01-28 8:16 ` Brad Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2008-01-27 19:24 UTC (permalink / raw)
To: qemu-devel
On Sun, Jan 27, 2008 at 06:01:22PM +0000, Stefano Stabellini wrote:
> I can confirm this, I have the same problem on Kubuntu 7.10 i386 using
> either gcc-3.4 or gcc-3.3.
architectural limitation for x86 triggered by cpu-exec.c version 1.131,
reverting to 1.130 allows the compilation to proceed
Carlo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
2008-01-27 19:24 ` Carlo Marcelo Arenas Belon
@ 2008-01-28 8:16 ` Brad Campbell
2008-01-28 10:59 ` Stefano Stabellini
0 siblings, 1 reply; 6+ messages in thread
From: Brad Campbell @ 2008-01-28 8:16 UTC (permalink / raw)
To: qemu-devel
Carlo Marcelo Arenas Belon wrote:
> On Sun, Jan 27, 2008 at 06:01:22PM +0000, Stefano Stabellini wrote:
>> I can confirm this, I have the same problem on Kubuntu 7.10 i386 using
>> either gcc-3.4 or gcc-3.3.
>
> architectural limitation for x86 triggered by cpu-exec.c version 1.131,
> reverting to 1.130 allows the compilation to proceed
Had to back vl.c off to 1.140 from 1.141 also..
Brad
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
2008-01-28 8:16 ` Brad Campbell
@ 2008-01-28 10:59 ` Stefano Stabellini
2008-01-28 11:07 ` Brad Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Stefano Stabellini @ 2008-01-28 10:59 UTC (permalink / raw)
To: qemu-devel
Brad Campbell wrote:
> Carlo Marcelo Arenas Belon wrote:
>> On Sun, Jan 27, 2008 at 06:01:22PM +0000, Stefano Stabellini wrote:
>>> I can confirm this, I have the same problem on Kubuntu 7.10 i386
>>> using either gcc-3.4 or gcc-3.3.
>>
>> architectural limitation for x86 triggered by cpu-exec.c version 1.131,
>> reverting to 1.130 allows the compilation to proceed
>
> Had to back vl.c off to 1.140 from 1.141 also..
>
I had to revert vl.c too, but it was from 1.401 to 1.400.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
2008-01-28 10:59 ` Stefano Stabellini
@ 2008-01-28 11:07 ` Brad Campbell
0 siblings, 0 replies; 6+ messages in thread
From: Brad Campbell @ 2008-01-28 11:07 UTC (permalink / raw)
To: qemu-devel
Stefano Stabellini wrote:
> Brad Campbell wrote:
>> Carlo Marcelo Arenas Belon wrote:
>>> On Sun, Jan 27, 2008 at 06:01:22PM +0000, Stefano Stabellini wrote:
>>>> I can confirm this, I have the same problem on Kubuntu 7.10 i386
>>>> using either gcc-3.4 or gcc-3.3.
>>>
>>> architectural limitation for x86 triggered by cpu-exec.c version 1.131,
>>> reverting to 1.130 allows the compilation to proceed
>>
>> Had to back vl.c off to 1.140 from 1.141 also..
>>
>
> I had to revert vl.c too, but it was from 1.401 to 1.400.
lysdexia strikes again
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-01-28 11:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-27 17:18 [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4 Brad Campbell
2008-01-27 18:01 ` Stefano Stabellini
2008-01-27 19:24 ` Carlo Marcelo Arenas Belon
2008-01-28 8:16 ` Brad Campbell
2008-01-28 10:59 ` Stefano Stabellini
2008-01-28 11:07 ` Brad Campbell
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).