Re: [PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c)

From: Paul Gortmaker (p_gortmaker@yahoo.com)
Date: Wed Oct 25 2000 - 12:18:00 EST


Andrew Morton wrote:

> But all the documentation has for years been saying that
> 2.7.2.3 is the one true compiler, so we are now in for 12
> months worth of bogus oops reports.
>
> This patch will help:
>
> --- linux-2.4.0-test10-pre5/arch/i386/kernel/setup.c Tue Oct 24
[...]
> +
> +#if (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 91)
> +#error Linux requires gcc-2.91.66 (egcs-1.1.2) or later
> +#endif
> +

Actually there is already such a test in init/main.c like this - just
update the numbers. I put it there quite a few years back when gcc-2.5.8
was finally declared too dain-bramaged to use.

[init/main.c gets hit early on - you didn't want to spend hours on an i386sx
generating garbage object files only to be told near the end of doing it...]

Paul.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:17 EST