lkml.org 
[lkml]   [2005]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [-mm patch] more updates for the gcc >= 3.2 requirement
Date
From
Adrian Bunk <bunk@stusta.de> wrote:
> On Fri, Dec 16, 2005 at 03:28:40PM -0300, Horst von Brand wrote:
> > Adrian Bunk <bunk@stusta.de> wrote:
> > > This patch contains some documentation updates and removes some code
> > > paths for gcc < 3.2.
> >
> > [...]
> >
> > > --- linux-2.6.15-rc5-mm3-full/arch/arm/kernel/asm-offsets.c.old 2005-12-15 13:34:55.000000000 +0100
> > > +++ linux-2.6.15-rc5-mm3-full/arch/arm/kernel/asm-offsets.c 2005-12-15 13:35:11.000000000 +0100
> > > @@ -27,11 +27,11 @@
> > > * GCC 3.2.0: incorrect function argument offset calculation.
> > > * GCC 3.2.x: miscompiles NEW_AUX_ENT in fs/binfmt_elf.c
> > > * (http://gcc.gnu.org/PR8896) and incorrect structure
> > > * initialisation in fs/jffs2/erase.c
> > > */
> > > -#if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
> > > +#if (__GNUC__ == 3 && __GNUC_MINOR__ < 3)
> > > #error Your compiler is too buggy; it is known to miscompile kernels.
> > > #error Known good compilers: 3.3
> > > #endif
> >
> > Better leave the original, in case some clown comes along with an ancient
> > compiler.
> >...

> That's what the check in init/main.c is for.

But in that case this is redundant, no? Or move the checks into there.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-18 05:21    [W:0.032 / U:3.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site