Re: kernel source and gcc-4.0
On Wed, 31 Aug 2005 the mental interface of
Elimar Riesebieter told:
> On Mon, 29 Aug 2005 the mental interface of
> Jerome BENOIT told:
>
> > Hello List,
> >
> > I have jsut tried to build a kernel 2.6.11 with make-kernel on the daily update
> > Etch box:
> > while I could do a few weeks ago it without difficulty,
> > I get now error messages: I suspected that
> > gcc-4.0 finds code errors where gcc-3.x finds nothing.
> >
> > Is it right ?
> > Is there a work around ?
>
> Edit the Makefile in sourcetree as follows:
Sorry, right patch attached
Elimar
--
Alles was viel bedacht wird ist bedenklich!;-)
Friedrich Nietzsche
--- Makefile.orig 2005-08-31 00:47:27.501408008 +0200
+++ Makefile 2005-08-31 00:44:12.619034632 +0200
@@ -203,7 +203,8 @@
HOSTCC = gcc
HOSTCXX = g++
-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \
+ -Wno-pointer-sign
HOSTCXXFLAGS = -O2
# Decide whether to build built-in, modular, or both.
Reply to: