From: "SourceForge.net" <noreply@sourceforge.net>
To: noreply@sourceforge.net
Subject: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work
Date: Mon, 26 May 2008 20:40:13 -0700 [thread overview]
Message-ID: <E1K0q2n-0008DG-RM@sc8-sf-web24.sourceforge.net> (raw)
Bugs item #1807620, was opened at 2007-10-04 21:55
Message generated for change (Settings changed) made by amitshah
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1807620&group_id=180599
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 2
Private: No
Submitted By: Technologov (technologov)
Assigned to: Nobody/Anonymous (nobody)
Summary: KVM's --disable-gcc-check doesn't work
Initial Comment:
KVM's configure switch: "--disable-gcc-check" doesn't work.
This bug makes KVM very hard to compile on openSUSE 10.2/10.3, which, unlike Fedora doesn't have compat-gcc-34 package.
Here is the error:
alexey@suse103-home:~/Linstall/kvm-45> ./configure --disable-gcc-check
./configure: cannot locate gcc 3.x. please install it or specify with --qemu-cc
According to HELP, it should work:
alexey@suse103-home:~/Linstall/kvm-45> ./configure --help
Usage: ./configure [options]
Options include:
--prefix=PREFIX where to install things (/usr/local)
--with-patched-kernel don't use external module
--kerneldir=DIR kernel build directory (/lib/modules/2.6.22.5-31-bigsmp/build)
--qemu-cc="" compiler for qemu (needs gcc3.x) ()
--disable-gcc-check don't insist on gcc-3.x
- this will break running without kvm
Host: openSUSE 10.3, 32-bit, Intel Core 2 CPU, KVM-45.
-Alexey Technologov
----------------------------------------------------------------------
Comment By: Anthony Liguori (aliguori)
Date: 2008-05-26 22:50
Message:
Logged In: YES
user_id=120449
Originator: NO
I've confirmed that this has been fixed in the latest kvm-userspace git
tree.
----------------------------------------------------------------------
Comment By: Carlo Marcelo Arenas Belon (carenas)
Date: 2008-01-13 11:36
Message:
Logged In: YES
user_id=36771
Originator: NO
$ tar -xvf /usr/portage/distfiles/kvm-47.tar.gz
$ cd kvm-47
$ ./configure --help | grep gcc
--qemu-cc=CC specify compiler for qemu (must be gcc-3.x)
--disable-gcc-check don't insist on gcc-3.x
$ gcc -v 2>&1 | grep "gcc version"
gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1)
./configure --disable-gcc-check | grep gcc
C compiler gcc
Host C compiler gcc
can this be closed?
----------------------------------------------------------------------
Comment By: Technologov (technologov)
Date: 2007-11-08 13:24
Message:
Logged In: YES
user_id=1839746
Originator: YES
This bug is not fixed yet. Reopened.
./configure --help
needs to give proper help.
----------------------------------------------------------------------
Comment By: Technologov (technologov)
Date: 2007-10-21 20:22
Message:
Logged In: YES
user_id=1839746
Originator: YES
Itamar found a openSUSE 10.3-specific solution.
Itamar wrote:
This is a solution to the original problem with opensuse:
You can get gcc33 from the opensuse build service (this is the new
one-click-install)
http://software.opensuse.org/ymp/devel%3Atools%3Agcc/openSUSE_10.3/i586/
gcc33-3.3.3-41.6.i586.rpm.ymp
(or download specific rpm's from http://software.opensuse.org/search by
searching for gcc33).
-Itamar
----------------------------------------------------------------------
Comment By: Carlo Marcelo Arenas Belon (carenas)
Date: 2007-10-19 19:44
Message:
Logged In: YES
user_id=36771
Originator: NO
Starting with kvm-47 all compiler detection is now being handled by QEMU
and works as explained in its documentation
----------------------------------------------------------------------
Comment By: Technologov (technologov)
Date: 2007-10-08 00:10
Message:
Logged In: YES
user_id=1839746
Originator: YES
Tested and it works.
Well, the bug is still there. But it's not in KVM now. It's in
documentation.
Bug reopened. Documentation must match functionality.
-Alexey
----------------------------------------------------------------------
Comment By: Carlo Marcelo Arenas Belon (carenas)
Date: 2007-10-07 22:56
Message:
Logged In: YES
user_id=36771
Originator: NO
running (or compiling) qemu with gcc4 is not supported and will result in
broken CPU emulation and crashes if kvm is not used (either because of
-no-kvm or the module not being loaded). if you are ok with that then add
"--qemu-cc=gcc" as a workaround for this bug
----------------------------------------------------------------------
Comment By: Avi Kivity (avik)
Date: 2007-10-07 16:49
Message:
Logged In: YES
user_id=539971
Originator: NO
Even if you specify --disable-gcc-check, you still need to choose a C
compiler. Qemu won't choose gcc 4 by default.
Specify --qemu-cc in addition to --disable-gcc-check.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1807620&group_id=180599
next reply other threads:[~2008-05-27 3:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 3:40 SourceForge.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-26 17:20 [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work SourceForge.net
2007-10-04 16:25 SourceForge.net
[not found] ` <E1IdTWB-0003Uo-Dv-fsxqSYOXIJgGKePtCzJsP6QD96bmaF075NbjCUgZEJk@public.gmane.org>
2007-10-04 16:33 ` Farkas Levente
[not found] ` <470515DA.9080606-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-04 16:54 ` Gregory Haskins
[not found] ` <1191516896.5019.83.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-10-04 17:27 ` Farkas Levente
[not found] ` <47052269.80501-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-04 17:42 ` Gregory Haskins
[not found] ` <1191519749.5019.99.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-10-04 19:49 ` Farkas Levente
[not found] ` <470543AC.50901-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-04 20:39 ` Gregory Haskins
2007-10-05 11:41 ` Avi Kivity
2007-10-05 16:54 ` Bernhard Kaindl
2007-10-05 17:00 ` Anthony Liguori
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=E1K0q2n-0008DG-RM@sc8-sf-web24.sourceforge.net \
--to=noreply@sourceforge.net \
/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