qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michel Pelletier <michel@cignex.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Current state of GCC 4 (non-)"support" on x86-64 ?
Date: Sun, 09 Oct 2005 10:54:47 -0700	[thread overview]
Message-ID: <43495967.4050608@cignex.com> (raw)
In-Reply-To: <433D60D0.8040601@bacbuc.dyndns.org>


A copule others on this thread mentioned that you can compile the kqemu 
module with gcc 4 and the rest of qemu with gcc 3.x.  Did this work for 
you?  Did it create a performance boost?

I'm asking because I just got qemu working on my ubuntu AMD64 and it 
took me a bit of tinkering to figure out the gcc 4/3.4 issue. 
Eventually I compiled it all, including kqemu, with gcc 3.4 and it all 
works great!  The 3.4 compiled kernel module worked fine with the 4 
compiled kernel.

QEMU is really fast!  I fooled one of my friend into thinking that I was 
actually running a native windows XP.  Is it that much more worth it to 
complile kqemu with gcc 4?

Thank you QEMU developers!  I'm keeping QEMU under my tool belt from now 
on.  Something I'd like to research, is there any possibility, or has 
anyone else considered the possibility to do 1280x800 widescreen (or 
other widescreen resolutions)?

-Michel

Emmanuel Charpentier wrote:
> Dear list,
> 
> I understand that the current "official" qemu needs gcc 3.x and won't
> compile with gcc 4.x
> 
> I also understand that using a gcc3-compiled module (kqemu, in the
> present case) entails a cgg3-compiled kernel.
> 
> I successfully recompiled such a kernel and qemu. So far so good.
> 
> However, this annoys me : the distribution I use (Ubuntu amd64) has
> switched (foolishly, IMHO) to gcc 4 for its' "native" kernels ... and
> proprietary kernel modules packages.
> 
> Since using those proprietary modules (for video, etc ...) give a *huge*
> performance boost to my poor laptop, I'd rather use them for the time
> being. And since rebuilding those packages is (apparently) a $h!+load of
> work, I'd rather patch qemu sources and use a "native" kernel...
> 
> Paul Brooks posted on May 12 a patch allowing compilation of qemu on a
> X86-64 host with GCC4. However, he didn't mention the use of gcc 4 for
> kqemu generation.
> 
> So the question is :
> Does Pa	ul's patch allow for successful compilation of qemu and kqemu
> with GCC 4, at least on X86-64 ?
> 
> Thank you for your answers and comments !
> 
> 					Emmanuel Charpentier

  parent reply	other threads:[~2005-10-09 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 15:59 [Qemu-devel] Current state of GCC 4 (non-)"support" on x86-64 ? Emmanuel Charpentier
2005-09-30 16:18 ` Paul Brook
2005-09-30 18:40   ` Jim C. Brown
2005-09-30 21:30 ` Henrik Nordstrom
2005-10-09 17:54 ` Michel Pelletier [this message]
2005-10-10  8:55   ` [Qemu-devel] " Gwenole Beauchesne

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=43495967.4050608@cignex.com \
    --to=michel@cignex.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).