* Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets
@ 2008-08-22 19:18 Sylvain Petreolle
2008-08-22 19:30 ` Anthony Liguori
0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Petreolle @ 2008-08-22 19:18 UTC (permalink / raw)
To: qemu-devel
----- Message d'origine ----
> De : Anthony Liguori <anthony@codemonkey.ws>
> À : qemu-devel@nongnu.org
> Envoyé le : Vendredi, 22 Août 2008, 20h01mn 51s
> Objet : Re: [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets
>
> 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é
> >
Currently --disable-gcc-check isnt documented, it only appears on failure to find
compatible gcc (ie 3.x).
Kind regards,
Sylvain Petreolle
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets
2008-08-22 19:18 Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets Sylvain Petreolle
@ 2008-08-22 19:30 ` Anthony Liguori
2008-08-23 19:55 ` Andreas Färber
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2008-08-22 19:30 UTC (permalink / raw)
To: qemu-devel
Sylvain Petreolle wrote:
> Currently --disable-gcc-check isnt documented, it only appears on failure to find
> compatible gcc (ie 3.x).
>
Patches are always welcome.
Regards,
Anthony Liguori
>
> Kind regards,
> Sylvain Petreolle
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets
2008-08-22 19:30 ` Anthony Liguori
@ 2008-08-23 19:55 ` Andreas Färber
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2008-08-23 19:55 UTC (permalink / raw)
To: qemu-devel
Am 22.08.2008 um 21:30 schrieb Anthony Liguori:
> Sylvain Petreolle wrote:
>> Currently --disable-gcc-check isnt documented, it only appears on
>> failure to find compatible gcc (ie 3.x).
>>
>
> Patches are always welcome.
I remember hearing it wasn't supposed to be documented at dyngen-only
times?
Applying such a patch now but not applying a GCC check suppression for
non-dyngen targets sounds unlogical. Neither will be needed once the
remaining dyngen targets are converted, TCG targets are available from
SVN only currently.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-23 19:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 19:18 Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets Sylvain Petreolle
2008-08-22 19:30 ` Anthony Liguori
2008-08-23 19:55 ` Andreas Färber
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).