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

Sam Ravnborg
2009-01-02T22:35:56Z

On Sat, Jan 03, 2009 at 09:27:33AM +1100, Benjamin Herrenschmidt wrote:
>
> >
> > Bugger....
> > Now I cannot do cross compile for: alpha, arm, m68k and sparc.
> >
> > Not that I actually try to run these beasts but just being able
> > to do cross compile has served me well.
> >
> > Last I looked (only few days ago) crosstool-ng did not support sparc :-(
>
> There are also various variants of 4.1.1 around with the fix for
> that inline bug backported (I think that's the case of the compiler
> that ships with the Cell SDK for example).
>

We could add a feature check during the early phase of the
kernel build so we know if gcc has this bug or not.

But this would be the first time to do so IIRC - today we only
do some limited check to see if certain options are supported.

Sam