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

Florian Mickler
2010-09-13T16:28:41Z

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

> On Mon, 13 Sep 2010 08:56:39 -0700
> "H. Peter Anvin" <hpa@zytor.com> 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