Re: [PATCH] kbuild: Disallow GCC 4.1.0 / 4.1.1

From: Ingo Molnar
Date: Fri Jan 02 2009 - 13:02:09 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

>
>
> On Fri, 2 Jan 2009, Ingo Molnar wrote:
> >
> > The gcc3 check for gcc 3.0 and 3.1 can be pushed into gcc3 as well - not
> > sure whether you fixed that. (i fixed it in the patch i just sent - but i
> > didnt notice the gcc5 mess in gcc4.h that you fixed)
>
> I just dropped it. Gcc 3.0 and 3.1 are so old that we simply don't care.

we didnt support it for quite some time. If you look at that ugly version
check you replaced:

#if __GNUC__ >= 4 && !gcc41_inlining_bug
# include <linux/compiler-gcc4.h>
#elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h>
#else
# error Sorry, your compiler is too old, too buggy or not recognized.
#endif

it has a hidden 'gcc 3.0 / 3.1 is not supported' condition in it. So what
i tried to point out that your patch causes a regression here - we dont
filter out gcc 3.0/3.1 out anymore.

Ingo
--
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/