qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: Which compiler to use to compile current SVN
       [not found] <200804301237.m3UCbPGQ008101@bandsman.co.uk>
@ 2008-04-30 12:53 ` Nigel Horne
  2008-04-30 18:52   ` Brad Campbell
  2008-04-30 20:50   ` Sebastian Herbszt
  0 siblings, 2 replies; 3+ messages in thread
From: Nigel Horne @ 2008-04-30 12:53 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

I can't get it to build with gcc3.4:

make -C i386-softmmu all
make[1]: Entering directory `/home/njh/src/qemu/trunk/i386-softmmu'
gcc34 -Wall -O2 -fno-strict-aliasing -pipe  -fno-reorder-blocks  -fno-gcse    -fno-optimize-sibling-calls  -fno-crossjumping  -fno-align-labels  -fno-align-jumps  -fno-align-functions   -mpreferred-stack-boundary=2 -fomit-frame-pointer  -m32 -I. -I.. -I/home/njh/src/qemu/trunk/target-i386 -I/home/njh/src/qemu/trunk -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/njh/src/qemu/trunk/tcg -I/home/njh/src/qemu/trunk/tcg/i386 -I/home/njh/src/qemu/trunk/fpu  -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/njh/src/qemu/trunk/slirp -c -o op.o /home/njh/src/qemu/trunk/target-i386/op.c
/home/njh/src/qemu/trunk/target-i386/ops_sse.h: In function `op_pshufw_mmx':
/home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: error: unable to find a register to spill in class `GENERAL_REGS'
/home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: error: this is the insn:
(insn:HI 18 17 20 0 (set (strict_low_part (subreg:HI (reg/v:DI 59 [ r ]) 0))
        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 62)
                    (const_int 2 [0x2]))
                (reg/v/f:SI 61 [ s ])) [0 <variable>._w S2 A16])) 43 {*movstricthi_1} (insn_list 16 (insn_list 12 (insn_list 50 (nil))))
    (expr_list:REG_DEAD (reg:SI 62)
        (nil)))
/home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: confused by earlier errors, bailing out
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/home/njh/src/qemu/trunk/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2

-Nigel

[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 279 bytes --]

begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
adr:Pogmoor;;28 Wharfedale Road;Barnsley;South Yorkshire;S75 2LJ;UK
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
url:http://www.bandsman.co.uk
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Re: Which compiler to use to compile current SVN
  2008-04-30 12:53 ` [Qemu-devel] Re: Which compiler to use to compile current SVN Nigel Horne
@ 2008-04-30 18:52   ` Brad Campbell
  2008-04-30 20:50   ` Sebastian Herbszt
  1 sibling, 0 replies; 3+ messages in thread
From: Brad Campbell @ 2008-04-30 18:52 UTC (permalink / raw)
  To: qemu-devel

Nigel Horne wrote:
> I can't get it to build with gcc3.4:
> 
> make -C i386-softmmu all
> make[1]: Entering directory `/home/njh/src/qemu/trunk/i386-softmmu'
> gcc34 -Wall -O2 -fno-strict-aliasing -pipe  -fno-reorder-blocks  

I've verified that it won't build with gcc-3.4 on Ubuntu, but will build with gcc-3.3 on Debian 
Stable, or Ubuntu.

gcc-3.3 is in the Ubuntu repos, so I just removed 3.4 and installed 3.3 .. gold!

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] 3+ messages in thread

* [Qemu-devel] Re: Which compiler to use to compile current SVN
  2008-04-30 12:53 ` [Qemu-devel] Re: Which compiler to use to compile current SVN Nigel Horne
  2008-04-30 18:52   ` Brad Campbell
@ 2008-04-30 20:50   ` Sebastian Herbszt
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Herbszt @ 2008-04-30 20:50 UTC (permalink / raw)
  To: qemu-devel

>I can't get it to build with gcc3.4:
>
> make -C i386-softmmu all
> make[1]: Entering directory `/home/njh/src/qemu/trunk/i386-softmmu'
> 
> cc34 -Wall -O2 -fno-strict-aliasing -pipe  -fno-reorder-blocks  -fno-gcse    -fno-optimize-sibling-calls  -fno-crossjumping  -fno-align-labels 
>   -fno-align-jumps  -fno-align-functions   -mpreferred-stack-boundary=2 -fomit-frame-pointer  -m32 -I. -I.. -I/home/njh/src/qemu/trunk/target-i386 
>  -I/home/njh/src/qemu/trunk -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/njh/src/qemu/trunk/tcg 
>  -I/home/njh/src/qemu/trunk/tcg/i386 -I/home/njh/src/qemu/trunk/fpu  -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/njh/src/qemu/trunk/slirp 
>  -c -o op.o /home/njh/src/qemu/trunk/target-i386/op.c
> /home/njh/src/qemu/trunk/target-i386/ops_sse.h: In function `op_pshufw_mmx':
> /home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: error: unable to find a register to spill in class `GENERAL_REGS'
> /home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: error: this is the insn:
> (insn:HI 18 17 20 0 (set (strict_low_part (subreg:HI (reg/v:DI 59 [ r ]) 0))
>        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 62)
>                    (const_int 2 [0x2]))
>                (reg/v/f:SI 61 [ s ])) [0 <variable>._w S2 A16])) 43 {*movstricthi_1} (insn_list 16 (insn_list 12 (insn_list 50 
> (nil))))
>    (expr_list:REG_DEAD (reg:SI 62)
>        (nil)))
> /home/njh/src/qemu/trunk/target-i386/ops_sse.h:597: confused by earlier errors, bailing out
> make[1]: *** [op.o] Error 1
> make[1]: Leaving directory `/home/njh/src/qemu/trunk/i386-softmmu'
> make: *** [subdir-i386-softmmu] Error 2

I am getting a similar error with r4290 and gcc-Version 3.3.6 (Debian 1:3.3.6-15)

In file included from /qemu/qemu-20080430/target-i386/op.c:433:
/qemu/qemu-20080430/target-i386/ops_mem.h: In function `op_ldub_kernel_T0_A0':
../softmmu_header.h:84: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/qemu/qemu-20080430/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2

- Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-30 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200804301237.m3UCbPGQ008101@bandsman.co.uk>
2008-04-30 12:53 ` [Qemu-devel] Re: Which compiler to use to compile current SVN Nigel Horne
2008-04-30 18:52   ` Brad Campbell
2008-04-30 20:50   ` Sebastian Herbszt

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).