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

Jakub Jelinek
2005-12-13T10:15:42Z

On Tue, Dec 13, 2005 at 11:11:53AM +0100, Andi Kleen 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.

The above is ARM solely, the comment there mentions some ARM postreload bug
that was only fixed in 3.3+.
I'd say 3.2 should be generally supported for the time being on arches
where there weren't significant problems with it.

Jakub