linux-mips
[Top] [All Lists]

Re: gcc-4.4 svn and 2.6.29-rc4 compile error

To: Andrew Randrianasulu <randrik_a@yahoo.com>
Subject: Re: gcc-4.4 svn and 2.6.29-rc4 compile error
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 14 Feb 2009 18:13:55 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <549158.21115.qm@web59815.mail.ac4.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <549158.21115.qm@web59815.mail.ac4.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>