Re: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work

Gregory Haskins
2007-10-04T16:54:56Z

[-- Attachment #1.1: Type: text/plain, Size: 3250 bytes --]

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.

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org