qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets
Date: Fri, 22 Aug 2008 13:01:51 -0500	[thread overview]
Message-ID: <48AEFF0F.7010700@codemonkey.ws> (raw)
In-Reply-To: <48AEFB48.3090606@reactos.org>

Hervé Poussineau wrote:
> Hi,
>
> If no configured target needs dyngen, gcc3.x is not required. Currently,
> you have to explicitly pass --disable-gcc-check flag to allow compilation.
>
> Attached patch removes gcc check if no selected target needs dyngen.
> I had to move gcc4 detection later in the configure script
>   

This patch breaks gcc3 autodetection in a subtle way.  You more the 
autodetect down much further after $cc is used to compile a bunch of 
test executables.  gcc3 autodetection may change $cc so all of those 
compile tests are now invalid.

I posted a patch a while ago that did basically the same thing but 
didn't suffer from this problem.  Paul Brook basically Nacked it though 
as it's a lot of ugliness for little short term gain.  Let's wait a bit 
longer and hope that the remaining targets get converted to TCG before 
doing a partial switch to gcc4.

Regards,

Anthony Liguori

> Hervé
>   

      reply	other threads:[~2008-08-22 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 17:45 [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets Hervé Poussineau
2008-08-22 18:01 ` Anthony Liguori [this message]

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=48AEFF0F.7010700@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --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).