Re: [RFC PATCH] x86: don't compile with gcc-3.3.3

From: Florian Mickler
Date: Mon Sep 13 2010 - 12:28:43 EST


On Mon, 13 Sep 2010 18:21:05 +0200
Florian Mickler <florian@xxxxxxxxxxx> wrote:

> On Mon, 13 Sep 2010 08:56:39 -0700
> "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
>
> > On 09/13/2010 01:39 AM, Peter Zijlstra wrote:

> > The only reason to not abort the build for gcc 3.3.3 is that soem
> > "enterprise" distros have been shipping gcc 3.3.3 with backported fixes
> > from 3.4, which of course still identifies themselves as gcc 3.3.3, and
> > so technically it is iompossioble to tell if any particular "gcc 3.3.3"
> > is actually broken or not.

What about issuing a warning like

"gcc 3.3.3 is broken because of bug [bugdescription/url].
if you know your build is not affected by this bug do:
touch .gcc333bugfixNNNN but please be aware that you are
not supported by the mainline kernel development comunity
if you do"

and implementing the accompanying logic?

Cheers,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/