Re: Linux 2.4.27-pre2 (gcc-3.4.0)

From: Rene Rebe
Date: Wed May 05 2004 - 01:41:31 EST


Hi,

On: Tue, 4 May 2004 22:03:25 +0200,
Rafa³ 'rmrmg' Roszak <rmrmg@xxxxx> wrote:
> begin Marc-Christian Petersen <m.c.p@xxxxxxxxxxxxxxxxxxxxxxxx> quote:
>
> > On Tuesday 04 May 2004 21:19, Rafa³ 'rmrmg' Roszak wrote:
> >
> > Hi Rafa³
> >
> > > make[2]: Entering directory `/usr/src/linux-2.4.27-pre2/kernel'
> > > gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-pre2/include -Wall
> > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> > > -fno-common-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
> > > -march=athlon-nostdinc -iwithprefix include -DKBUILD_BASENAME=sched
> > > -fno-omit-frame-pointer -c -o sched.o sched.c sched.c:213: error:
> > > conflicting types for 'reschedule_idle' sched.c:210: error: previous
> > > declaration of 'reschedule_idle' was here sched.c:213: error:
> > > conflicting types for 'reschedule_idle' sched.c:210: error: previous
> > > declaration of 'reschedule_idle' was here sched.c:371: error:
> > > This problem exist when i use GCC-3.4.0, GCC-3.2.3 doesn't cause it.
> >
> > Does the attached patch help there?

This patch should build a gcc-3.4 kernel with nearly everything
enabled on x86 and PowerPC (maybe more):

http://dl.rocklinux-consulting.de/oss/linux24/gcc340-fixes-v2.4.26-try3.patch

It is for 2.4.26 - but should apply mostly to 2.4.27-pre2, too - I
have not yet booted the resulting kernel, soo ....

Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer

--
René Rebe - Europe/Germany/Berlin
rene@xxxxxxxxxxxxx rene@xxxxxxxxxxxxxxxxxxxxxxx
http://www.rocklinux.org http://www.rocklinux-consulting.de

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/