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

From: Al Viro
Date: Fri Jan 02 2009 - 13:52:28 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?

FWIW, I'm using 4.3 on all targets at the moment. See
git://git.kernel.org/pub/scm/linux/kernel/git/viro/toolchain.git/
for fedora-based variant of that sucker. And yes, it does include
cross-to-sparc; all but sh/sh64, in fact (sh had serious compiler
breakage around 4.3.0 and backporting from -HEAD was far beyond
what I considered reasonable at that point).
--
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/