From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Gregory Haskins <ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work
Date: Fri, 05 Oct 2007 12:00:06 -0500 [thread overview]
Message-ID: <47066D96.6060201@codemonkey.ws> (raw)
In-Reply-To: <1191516896.5019.83.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
Gregory Haskins wrote:
> On Thu, 2007-10-04 at 18:33 +0200, Farkas Levente wrote:
>
>> hi,
>> what's the real reason that kvm can't be compiled gcc-4.x?
>> wouldn't it be better to be able to compile with the current compilers too?
>>
>
> Its actually an issue with QEMUs cpu emulation code. It takes advantage
> of compiler traits that are no longer true in the 4.x series. The code
> will actually compile under 4.x however. It just will not run properly.
> However, KVM doesn't use QEMUs cpu emulation, so if you do not care
> about running with KVM disabled (e.g. -no-kvm), you don't technically
> need to worry about it.
>
FWIW, there are patches that allow QEMU to compile and work with GCC 4
but, so far, certain folks in the QEMU community have objected strongly
to them (look for the threads about post-processing GCC assembly output).
Those patches do work with KVM (and -no-kvm still works). However, it
would be a bad idea to apply them to the KVM QEMU tree b/c it would make
merging in the future much more difficult.
Regards,
Anthony Liguori
> Hope that helps.
> -Greg
>
>
>> SourceForge.net wrote:
>>
>>> 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/
>>> _______________________________________________
>>> kvm-devel mailing list
>>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> 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/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
-------------------------------------------------------------------------
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/
next prev parent reply other threads:[~2007-10-05 17:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=47066D96.6060201@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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