On Fri, Feb 13, 2009 at 03:10:13PM -0800, Andrew Randrianasulu wrote:
> and restart make with with LANG=C give this
>
> guest@slax:/mnt/hdb1/src/linux-git/linux-2.6$ make ARCH=mips
> CROSS_COMPILE=mips-unknown-linux-gnu-
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-mips
> Checking missing-syscalls for O32
> CALL scripts/checksyscalls.sh
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC arch/mips/sgi-ip32/ip32-reset.o
> cc1: warnings being treated as errors
> arch/mips/sgi-ip32/ip32-reset.c: In function 'debounce':
> arch/mips/sgi-ip32/ip32-reset.c:97: error: 'reg_a' is used uninitialized in
> this function
> make[1]: *** [arch/mips/sgi-ip32/ip32-reset.o] Error 1
> make: *** [arch/mips/sgi-ip32] Error 2
>
> Is this known error? Or I should downgrade toolchain/kernel?
The error message is correct. Congratulations, you (or gcc) have found a
bug that's lurking in the kernel since April 7, 2003 :-)
Ralf
|