public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Francesc <frank-VfcrZIqfQH54piUD7e9S/g@public.gmane.org>
To: Uri Lublin <uri.lublin-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: compiler problem in Read Hat ES 4
Date: Wed, 17 Jan 2007 13:31:59 +0100	[thread overview]
Message-ID: <45AE173F.60400@si.ct.upc.edu> (raw)
In-Reply-To: <64F9B87B6B770947A9F8391472E0321603496B05-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>

Uri Lublin wrote:
>
> Hi,
>
> It seems like a gcc32 problem.
> Please try to use your default gcc (3.4.6) to compile qemu instead of 
> gcc32
> Just type in <kvm-dir> "configure --qemu-cc=gcc"
>
> Hope that helps,
>     Uri.
>
>
> -----Original Message-----
> From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org on behalf of Francesc
> Sent: Tue 16/01/2007 12:02
> To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [kvm-devel] compiler problem in Read Hat ES 4
>
> Hi,
> we are trying to kmstall kvm on a Read Hat Enterprise 4 with all the
> latest updates, and when we do the "make" we
> get this error
>
> /usr/bin/gcc32 -I /var/tmp/kvm-11/qemu/../user -Wall -O2 -g
> -fno-strict-aliasing -fomit-frame-pointer -I. -I..
> -I/var/tmp/kvm-11/qemu/target-i386 -I/var/tmp/kvm-11/qemu -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/kvm-11/qemu/fpu -I
> /var/tmp/kvm-11/kernel/include -DHAS_AUDIO -I/var/tmp/kvm-11/qemu/slirp
> -c -o qemu-kvm.o /var/tmp/kvm-11/qemu/qemu-kvm.c
> /var/tmp/kvm-11/qemu/qemu-kvm.c: In function `load_regs':
> /var/tmp/kvm-11/qemu/qemu-kvm.c:223: unable to find a register to spill
> in class `SIREG'
> /var/tmp/kvm-11/qemu/qemu-kvm.c:223: this is the insn:
> (insn 98 95 101 (parallel[
>             (set (reg:SI 2 ecx [78])
>                 (const_int 0 [0x0]))
>             (set (reg/f:SI 1 edx [75])
>                 (plus:SI (ashift:SI (reg:SI 2 ecx [77])
>                         (const_int 2 [0x2]))
>                     (reg/f:SI 1 edx [75])))
>             (set (reg/f:SI 0 eax [76])
>                 (plus:SI (ashift:SI (reg:SI 2 ecx [77])
>                         (const_int 2 [0x2]))
>                     (reg/f:SI 0 eax [76])))
>             (set (mem:BLK (reg/f:SI 1 edx [75]) [0 A128])
>                 (mem:BLK (reg/f:SI 0 eax [76]) [0 A128]))
>             (use (reg:SI 2 ecx [77]))
>             (use (reg:SI 19 dirflag))
>         ] ) 603 {*rep_movsi} (insn_list 90 (insn_list 92 (insn_list 93
> (insn_list 95 (nil)))))
>     (expr_list:REG_DEAD (reg:SI 19 dirflag)
>         (expr_list:REG_DEAD (reg:SI 2 ecx [77])
>             (expr_list:REG_UNUSED (reg:SI 2 ecx [78])
>                 (expr_list:REG_UNUSED (reg/f:SI 1 edx [75])
>                     (expr_list:REG_UNUSED (reg/f:SI 0 eax [76])
>                         (nil)))))))
> /var/tmp/kvm-11/qemu/qemu-kvm.c:223: confused by earlier errors, 
> bailing out
> make[2]: *** [qemu-kvm.o] Error 1
> make[2]: Leaving directory `/var/tmp/kvm-11/qemu/i386-softmmu'
> make[1]: *** [subdir-i386-softmmu] Error 2
> make[1]: Leaving directory `/var/tmp/kvm-11/qemu'
> make: *** [qemu] Error 2
>
>
> The gcc version is 3.4.6; I have read that there were problems with
> older gcc versions. Is this another bug?
> Thanks for your help.
>
> Frank
> UPC - Terrassa -Spain
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>
Hi Uri,
it has compiled OK with gcc, but it has not produced any module ( .ko)
It seems like does not do anything when the "make"  should do this part:

[root@espai07 kvm-11]# make
make -C kernel
make[1]: Entering directory `/var/tmp/kvm-11/kernel'
make -C /lib/modules/2.6.9-42.0.3.ELsmp/build M=`pwd` "$@"
make[2]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686'
make[1]: Leaving directory `/var/tmp/kvm-11/kernel'
make -C user
make[1]: Entering directory `/var/tmp/kvm-11/user'
cc -I /var/tmp/kvm-11/kernel/include -MMD -MF ./.kvmctl.d -g   -c -o 
kvmctl.o kvmctl.c
cc -I /var/tmp/kvm-11/kernel/include -MMD -MF ./.main.d -g   -c -o 
main.o main.c
cc   kvmctl.o main.o   -o kvmctl
ar rcs libkvm.a kvmctl.o
make[1]: Leaving directory `/var/tmp/kvm-11/user'
make -C qemu
........
........

what can be the problem?

Thanks for your help.

Frank

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-01-17 12:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-16 10:02 compiler problem in Read Hat ES 4 Francesc
2007-01-17 10:44 ` Uri Lublin
     [not found]   ` <64F9B87B6B770947A9F8391472E0321603496B05-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-01-17 12:31     ` Francesc [this message]
2007-01-17 12:44       ` Uri Lublin
     [not found]         ` <64F9B87B6B770947A9F8391472E0321603496B06-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-01-18  8:32           ` Francesc
2007-01-18 12:06             ` Uri Lublin
     [not found]               ` <64F9B87B6B770947A9F8391472E0321603496B09-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-01-24  0:20                 ` Bill Davidsen
2007-01-24 13:41                   ` Uri Lublin
2007-01-24 10:53                 ` Francesc
     [not found]                   ` <45B73AB5.1000000-VfcrZIqfQH54piUD7e9S/g@public.gmane.org>
2007-01-24 12:21                     ` Michael Riepe
     [not found]                       ` <45B74F3B.5080508-0QoEqw4nQxo@public.gmane.org>
2007-01-25  7:28                         ` Francesc
     [not found]                           ` <45B85C39.6040707-VfcrZIqfQH54piUD7e9S/g@public.gmane.org>
2007-01-25  7:44                             ` Michael Riepe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45AE173F.60400@si.ct.upc.edu \
    --to=frank-vfcrziqfqh54piud7e9s/g@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=uri.lublin-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox