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

From: Sam Ravnborg
Date: Fri Jan 02 2009 - 13:26:18 EST


On Fri, Jan 02, 2009 at 10:04:27AM -0800, Linus Torvalds wrote:
>
>
> On Fri, 2 Jan 2009, Sam Ravnborg 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.
>
> We _could_ make a "CONFIG_COMPILE_ONLY" check, but wouldn't it be even
> nicer to make sure the cross-compiles are something that might actually be
> expected to work?
>
> I realize that cross-tools tend to lag a bit - the pressure to maintain
> them tends to be much lower - but I was sure we had somebody who did a
> reasonable cross-compiler toolchain. Is gcc-4.1 really the most modern
> thing that is easily available?

Asked google and it found following page:

http://www.kernel.org/pub/tools/crosstool/

Architecuter OK? gcc version
---------------------------------
alpha No gcc 4.0.2
arm Yes gcc 3.4.5
ia64 Yes gcc 3.4.5
m68k Yes gcc 3.4.5
mips Yes gcc 3.4.5
sh4 Yes gcc 3.4.5
sparc Yes gcc 3.4.5
sparc64 Yes gcc 3.4.5
x86_64 Yes gcc 3.4.5


So from this list of tool chains we can continue to do cross builds
of all except alpha.
But the gcc version is getting ancient..

Why it shall be so hard to do cross build toolchains is above my
imagination but then I also never looked at what it involes.

Added Vegard that maintain these pages.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/