public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work
@ 2007-10-04 16:25 SourceForge.net
       [not found] ` <E1IdTWB-0003Uo-Dv-fsxqSYOXIJgGKePtCzJsP6QD96bmaF075NbjCUgZEJk@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: SourceForge.net @ 2007-10-04 16:25 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Bugs item #1807620, was opened at 2007-10-04 18:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1807620&group_id=180599

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work
@ 2008-05-26 17:20 SourceForge.net
  0 siblings, 0 replies; 16+ messages in thread
From: SourceForge.net @ 2008-05-26 17:20 UTC (permalink / raw)
  To: noreply

Bugs item #1807620, was opened at 2007-10-04 12:25
Message generated for change (Settings changed) made by aliguori
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: Open
>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 13:20

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 01:06

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 02:54

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 10:52

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 10:14

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-07 14:40

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 13:26

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 07:19

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work
@ 2008-05-27  3:40 SourceForge.net
  0 siblings, 0 replies; 16+ messages in thread
From: SourceForge.net @ 2008-05-27  3:40 UTC (permalink / raw)
  To: noreply

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

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

end of thread, other threads:[~2008-05-27  3:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 16:25 [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work 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
     [not found]                         ` <1191530370.5019.108.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-10-07 21:20                           ` [RFC] let kvm be compiled with gcc4 and prevent users to shoot themselves in the foot while doing so (was Re: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work) Carlo Marcelo Arenas Belon
2007-10-07 22:18                             ` Jim Paris
     [not found]                               ` <20071007221827.GA25232-lSbMZ+N7itA@public.gmane.org>
2007-10-08  6:15                                 ` Carlo Marcelo Arenas Belon
2007-10-05 11:41                       ` [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work Avi Kivity
2007-10-05 16:54                   ` Bernhard Kaindl
2007-10-05 17:00           ` Anthony Liguori
2007-10-08 15:43   ` [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn'twork Itamar Heim
  -- 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
2008-05-27  3:40 SourceForge.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox