Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

Andrew Morton
2005-12-13T10:26:10Z

Andi Kleen <ak@suse.de> wrote:
>
> > Guess
> >
> > #if __GNUC__ == 3 && __GNUC_MINOR__ < 3
> > #error Your compiler is too buggy; it is known to miscompile kernels.
> > #error Known good compilers: 3.3, 3.4, 4.0
> > #endif
> >
> > would be better. __GNUC__ < 2 will certainly be errored about in other
> > places and it is bad to suggest compilers that are no longer supported
> > as known good ones.
>
> Are there really any known serious miscompilation with 3.1/3.2?
> (I knew it used to miscompile some loops on x86-64, but I think I worked
> around all that)
>
> Preventing SLES9 and RHEL3 users from easily compiling new kernels
> isn't good.
>

3.2.1 works OK on x86.