linux-mips
[Top] [All Lists]

Re: GCC-4.3.3 sillyness

To: Manuel Lauss <mano@roarinelk.homelinux.net>
Subject: Re: GCC-4.3.3 sillyness
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 30 Jan 2009 14:03:09 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20090130074407.GA12368@roarinelk.homelinux.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20090130074407.GA12368@roarinelk.homelinux.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Jan 30, 2009 at 08:44:07AM +0100, Manuel Lauss wrote:

> Can't build kernel because gcc-4.3.3 comes up with this gem:
> 
>   CC      arch/mips/kernel/traps.o
> cc1: warnings being treated as errors
> /linux-2.6.git/arch/mips/kernel/traps.c: In function 'set_uncached_handler':
> /linux-2.6.git/arch/mips/kernel/traps.c:1599: error: format not a string 
> literal and no format arguments
> 
> The fastest fix is the patch below, but I don't know whether it is
> the right thing to do.

Is this new with 4.3.3?  I've not ran into this problem with 4.3.2 so far.
Or it could be configuration dependent ...

This seems a gcc bug so could you extract a test case and file a gcc bug
report?

  Ralf

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