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

Sam Ravnborg
2009-01-02T18:27:51Z

On Fri, Jan 02, 2009 at 07:22:48PM +0100, Ingo Molnar wrote:
>
> * Sam Ravnborg <sam@ravnborg.org> wrote:
>
> > > And it all looks more logical too, imho.
> >
> > Bugger....
> > Now I cannot do cross compile for: alpha, arm, m68k and sparc.
>
> hm, i just did a successful cross-build from x86 to alpha:
>
> KSYM .tmp_kallsyms2.S
> AS .tmp_kallsyms2.o
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
>
> phoenix:~/linux/linux> head -6 /dev/shm/tip/build/.config
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.28
> # Fri Jan 2 19:28:14 2009
> #
> CONFIG_ALPHA=y
>
> with these commits present:
>
> f9d1425: Disallow gcc versions 4.1.{0,1}
> f153b82: Sanitize gcc version header includes
>
> what type of cross-build breakage do they cause?

The default gcc made by demo-alpha with crosstool is version 4.1.0:

/opt/crosstool/gcc-4.1.0-glibc-2.3.6/alpha-unknown-linux-gnu/bin/alpha-unknown-linux-gnu-gcc --version
alpha-unknown-linux-gnu-gcc (GCC) 4.1.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Sam