Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
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
Signature · 3 lines
"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
I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3.
Quoted 59 lines · Brad Campbell
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..
(quoted diff) +0
-4-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 2brad@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
Quoted 2 lines · Stefano Stabellini
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
Quoted 5 lines · Carlo Marcelo Arenas Belon
Quoted 1 line · Stefano Stabellini
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.cversion 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
Signature · 3 lines
"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
Quoted 9 lines · Brad Campbell
Quoted 5 lines · Carlo Marcelo Arenas Belon
Quoted 1 line · Stefano Stabellini
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.cversion 1.131, reverting to 1.130 allows the compilation to proceedHad to back
vl.coff to 1.140 from 1.141 also..
I had to revert vl.c too, but it was from 1.401 to 1.400.
Quoted 5 lines · Stefano Stabellini
Quoted 4 lines · Brad Campbell
Quoted 3 lines · Carlo Marcelo Arenas Belon
Quoted 1 line · Stefano Stabellini
I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
architectural limitation for x86 triggered by
cpu-exec.cversion 1.131, reverting to 1.130 allows the compilation to proceedHad to back
vl.coff to 1.140 from 1.141 also..I had to revert
vl.ctoo, but it was from 1.401 to 1.400.
lysdexia strikes again
Signature · 3 lines
"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