qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0
@ 2005-05-10 16:02 Wayne Christian
  2005-05-10 17:14 ` Hetz Ben Hamo
  0 siblings, 1 reply; 5+ messages in thread
From: Wayne Christian @ 2005-05-10 16:02 UTC (permalink / raw)
  To: qemu-devel

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

For whatever it is worth I get the following errors trying to compile qemu with kqemu on a Fedora Core 3 system.  This system has been modified to install Eciplse and GCC 4.0 from Fedora Core 4 test 2, but is otherwise a Fedora Core 3 system.


[root@WmainLinux qemu-0.7.0]# ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /usr/src/qemu-0.7.0
C compiler        gcc
make              make
host CPU          i386
host big endian   no
target list       i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
gprof enabled     no
static build      no
SDL support       no
mingw32 support   no
Adlib support     no
FMOD support      no
kqemu support     yes

KQEMU Linux module configuration:
kernel sources    /lib/modules/2.6.11-1.7_FC3.desktop_3/build
kbuild type       2.6
[root@WmainLinux qemu-0.7.0]# make
for d in i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu; do \
make -C $d all || exit 1 ; \
        done
make[1]: Entering directory `/usr/src/qemu-0.7.0/i386-user'
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/usr/src/qemu-0.7.0/target-i386 -I/usr/src/qemu-0.7.0 -I/usr/src/qemu-0.7.0/linux-user -I/usr/src/qemu-0.7.0/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/qemu-0.7.0/fpu -I/usr/src/qemu-0.7.0/slirp -c -o op.o /usr/src/qemu-0.7.0/target-i386/op.c
/usr/src/qemu-0.7.0/target-i386/ops_sse.h: In function 'op_pshufw_mmx':
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: unable to find a register to spill in class 'GENERAL_REGS'
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: this is the insn:
(insn:HI 18 17 19 0 /usr/src/qemu-0.7.0/target-i386/ops_sse.h:569 (set (strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))
        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
                    (const_int 2 [0x2]))
                (reg/v/f:SI 59 [ s ])) [0 <variable>._w S2 A16])) 41 {*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12 (insn_list:REG_DEP_TRUE 53 (nil))))
    (expr_list:REG_DEAD (reg:SI 64)
        (nil)))
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: confused by earlier errors, bailing out
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/usr/src/qemu-0.7.0/i386-user'
make: *** [all] Error 1
[root@WmainLinux qemu-0.7.0]#

[-- Attachment #2: Type: text/html, Size: 4055 bytes --]

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

* Re: [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0
  2005-05-10 16:02 [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0 Wayne Christian
@ 2005-05-10 17:14 ` Hetz Ben Hamo
  2005-05-10 19:39   ` Fabrice Bellard
  0 siblings, 1 reply; 5+ messages in thread
From: Hetz Ben Hamo @ 2005-05-10 17:14 UTC (permalink / raw)
  To: qemu-devel

Hi,

At the moment, QEMU does not compile with GCC 4.0. 
You can find the GCC 3.x RPMS in your installation media, along with
instructions how to use the GCC 3.x instead of GCC 4.

Thanks,
Hetz


On 5/10/05, Wayne Christian <wayne_christian@sbcglobal.net> wrote:
>  
> For whatever it is worth I get the following errors trying to compile qemu
> with kqemu on a Fedora Core 3 system.  This system has been modified to
> install Eciplse and GCC 4.0 from Fedora Core 4 test 2, but is otherwise a
> Fedora Core 3 system. 
>   
>   
> [root@WmainLinux qemu-0.7.0]# ./configure
> Install prefix    /usr/local
> BIOS directory    /usr/local/share/qemu
> binary directory  /usr/local/bin
> Manual directory  /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path       /usr/src/qemu-0.7.0
> C compiler        gcc
> make              make
> host CPU          i386
> host big endian   no
> target list       i386-user arm-user armeb-user sparc-user ppc-user
> i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
> gprof enabled     no
> static build      no
> SDL support       no
> mingw32 support   no
> Adlib support     no
> FMOD support      no
> kqemu support     yes 
>   
> KQEMU Linux module configuration:
> kernel sources    /lib/modules/2.6.11-1.7_FC3.desktop_3/build
> kbuild type       2.6
> [root@WmainLinux qemu-0.7.0]# make
> for d in i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu
> ppc-softmmu sparc-softmmu x86_64-softmmu; do \
> make -C $d all || exit 1 ; \
>         done
> make[1]: Entering directory `/usr/src/qemu-0.7.0/i386-user'
> gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer
> -mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse
> -fno-reorder-blocks -fno-optimize-sibling-calls -I.
> -I/usr/src/qemu-0.7.0/target-i386 -I/usr/src/qemu-0.7.0
> -I/usr/src/qemu-0.7.0/linux-user -I/usr/src/qemu-0.7.0/linux-user/i386
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/usr/src/qemu-0.7.0/fpu -I/usr/src/qemu-0.7.0/slirp -c -o op.o
> /usr/src/qemu-0.7.0/target-i386/op.c
> /usr/src/qemu-0.7.0/target-i386/ops_sse.h: In function 'op_pshufw_mmx':
> /usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: unable to find a
> register to spill in class 'GENERAL_REGS'
> /usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: this is the insn:
> (insn:HI 18 17 19 0 /usr/src/qemu-0.7.0/target-i386/ops_sse.h:569 (set
> (strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))
>         (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
>                     (const_int 2 [0x2]))
>                 (reg/v/f:SI 59 [ s ])) [0 <variable>._w S2 A16])) 41
> {*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12
> (insn_list:REG_DEP_TRUE 53 (nil))))
>     (expr_list:REG_DEAD (reg:SI 64)
>         (nil)))
> /usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: confused by earlier errors,
> bailing out
> make[1]: *** [op.o] Error 1
> make[1]: Leaving directory `/usr/src/qemu-0.7.0/i386-user'
> make: *** [all] Error 1
> [root@WmainLinux qemu-0.7.0]#
>  
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 
>

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

* Re: [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0
  2005-05-10 17:14 ` Hetz Ben Hamo
@ 2005-05-10 19:39   ` Fabrice Bellard
  2005-05-10 21:48     ` Michael McConnell
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Bellard @ 2005-05-10 19:39 UTC (permalink / raw)
  To: qemu-devel

Hetz Ben Hamo wrote:
> Hi,
> 
> At the moment, QEMU does not compile with GCC 4.0. 
> You can find the GCC 3.x RPMS in your installation media, along with
> instructions how to use the GCC 3.x instead of GCC 4.

I just updated the FAQ with this issue.

Fabrice.

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

* Re: [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0
  2005-05-10 19:39   ` Fabrice Bellard
@ 2005-05-10 21:48     ` Michael McConnell
  2005-05-11  6:57       ` Christian MICHON
  0 siblings, 1 reply; 5+ messages in thread
From: Michael McConnell @ 2005-05-10 21:48 UTC (permalink / raw)
  To: qemu-devel

On Tue, 10 May 2005, Fabrice Bellard wrote:

> Hetz Ben Hamo wrote:
> > Hi,
> > 
> > At the moment, QEMU does not compile with GCC 4.0. 
> > You can find the GCC 3.x RPMS in your installation media, along with
> > instructions how to use the GCC 3.x instead of GCC 4.
> 
> I just updated the FAQ with this issue.

I can't get it to compile with 2.96 either (QEMU 0.6.1 had no problems there)

-- Michael "Soruk" McConnell
   Eridani Star System

   MailStripper - "The easy spam filter."
   http://mailstripper.eridani.co.uk/

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

* Re: [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0
  2005-05-10 21:48     ` Michael McConnell
@ 2005-05-11  6:57       ` Christian MICHON
  0 siblings, 0 replies; 5+ messages in thread
From: Christian MICHON @ 2005-05-11  6:57 UTC (permalink / raw)
  To: qemu-devel

Since we're checking which versions are working or not, just note
gcc-3.3.6 and binutils-2.16 (both released 3rd May 2005) make
a hell of a combination and qemu-0.7.0 works/rocks with it...

Christian

On 5/10/05, Michael McConnell <soruk@eridani.co.uk> wrote:
> I can't get it to compile with 2.96 either (QEMU 0.6.1 had no problems there)
>

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

end of thread, other threads:[~2005-05-11  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-10 16:02 [Qemu-devel] Qemu with Kqemu on Fedora Core using GCC 4.0 Wayne Christian
2005-05-10 17:14 ` Hetz Ben Hamo
2005-05-10 19:39   ` Fabrice Bellard
2005-05-10 21:48     ` Michael McConnell
2005-05-11  6:57       ` Christian MICHON

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