Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Thu, 29 Jan 2009
 23:45:16 -0800
Received: from ausesmta2-1.messageone.com ([64.20.241.45]) by mail.onstor.com
 with Microsoft SMTPSVC(6.0.3790.3959);	 Thu, 29 Jan 2009 23:45:15 -0800
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])	by
 ausesmta2-1.messageone.com (8.13.8/8.13.8) with ESMTP id n0U7jF1P012564	for
 <andy.sharp@onstor.com>; Fri, 30 Jan 2009 01:45:15 -0600
Received: from localhost.localdomain ([127.0.0.1]:39135 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21365117AbZA3Ho2
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Fri, 30 Jan 2009 07:44:28 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 30 Jan 2009 07:44:11
 +0000 (GMT)
Received: from fnoeppeil36.netpark.at ([217.175.205.164]:18623 "EHLO
	roarinelk.homelinux.net") by ftp.linux-mips.org with ESMTP	id
 S21103053AbZA3HoI (ORCPT <rfc822;linux-mips@linux-mips.org>);	Fri, 30 Jan
 2009 07:44:08 +0000
Received: (qmail 12436 invoked by uid 1000); 30 Jan 2009 08:44:07 +0100
From: Manuel Lauss <mano@roarinelk.homelinux.net>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Thu, 29 Jan 2009 23:44:07 -0800
Subject: GCC-4.3.3 sillyness
Thread-Topic: GCC-4.3.3 sillyness
Thread-Index: AcmCrrEcAyuOQHdXSqGM1ZzMDryCFA==
Message-ID: <20090130074407.GA12368@roarinelk.homelinux.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 30 Jan 2009 07:45:15.0470 (UTC)
 FILETIME=[B08CAEE0:01C982AE]
user-agent: Mutt/1.5.16 (2007-06-09)
errors-to: linux-mips-bounce@linux-mips.org
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: 6rdQDyD+r14d9uS4eE0zLA==
x-messageone-virus-version: vendor=fsecure
 engine=4.65.7400:2.4.4,1.2.40,4.0.164
 definitions=2009-01-30_02:2009-01-29,2009-01-30,2009-01-30 signatures=0
x-messageone-virus-scanned: Clean
x-messageone-envelope-sender: linux-mips-bounce@linux-mips.org
x-messageone-spam-details: rule=m773emszm_notspam policy=m773emszm score=0
 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
 adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0901290267
x-messageone-spam-score: 0
x-messageone-spam-bar:
x-list: linux-mips
x-archive-position: 21889
x-ecartis-version: Ecartis v1.0.0
x-original-sender: mano@roarinelk.homelinux.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

Hello,

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 li=
teral and no format arguments

The fastest fix is the patch below, but I don't know whether it is
the right thing to do.

Thanks!
	Manuel Lauss

---

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 7378b91..70ddf83 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -78,7 +78,7 @@ all-$(CONFIG_BOOT_ELF64)	:=3D $(vmlinux-64)
 # machines may also.  Since BFD is incredibly buggy with respect to
 # crossformat linking we rely on the elf2ecoff tool for format conversion.
 #
-cflags-y			+=3D -G 0 -mno-abicalls -fno-pic -pipe
+cflags-y			+=3D -G 0 -mno-abicalls -fno-pic -pipe -Wno-format
 cflags-y			+=3D -msoft-float
 LDFLAGS_vmlinux			+=3D -G 0 -static -n -nostdlib
 MODFLAGS			+=3D -mlong-calls

