RE: Still have build error on 2.6.2 fc/proc/array.c
From: yiding_wang
Date: Fri Feb 20 2004 - 12:01:16 EST
Hello Marco,
I got things straighten up by changing the code array.c, followed your example on web. I also downloaded gcc 3.3.3 but dare to try it now. The gcc 2.96 bug should be described in 2.6.2 Changes file which only mentioned the gcc 2.95 and beyond will be OK,
Thanks!
Eddie
> -----Original Message-----
> From: Marco Roeland
> [mailto:marco@xxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Marco Roeland
> Sent: Friday, February 20, 2004 5:03 AM
> To: WANG,YIDING (A-SanJose,ex1)
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: Still have build error on 2.6.2 fc/proc/array.c
>
>
> On Tuesday February 17th yiding_wang@xxxxxxxxxxx wrote:
>
> > Based on README and requirement of Changes in linux-2.6.2,
> I have updated needed utilities and other files with the following:
> > binnutils 2.14
> > e2fsprogs-1.34
> > module-init-tools-3.0-pre10
> > procps 3.1.15
> >
> > Everything is installed OK.
> >
> > Then compiling new 2.6.2 kernel still fails wi the
> following. What is the upgrade file for this problem?
>
> Your kernel sources and all the mentioned tools are now OK,
> and probably
> were OK already. The only thing that is giving you the error is the
> version of the gcc compiler that you use (2.96).
>
> > make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> > CHK include/linux/compile.h
> > CC fs/proc/array.o
> > fs/proc/array.c: In function `proc_pid_stat':
> > fs/proc/array.c:398: Unrecognizable insn:
> > (insn/i 727 1015 1009 (parallel[
> > ...
>
> It is the *compiler* (gcc-2.96) that has a bug here. As this
> version of
> gcc has many other bugs developers no longer work around difficulties
> this specific version of gcc has.
>
> What you can do is upgrade your gcc package to a later
> version (3.2.x or
> 3.3.x or even later from your distribution). As a workaround
> I've made a
> little patch that you can apply to fs/proc/array.c if you
> still want to
> keep using gcc 2.96 for a little while. It's archived here:
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=107567013416122&w=2
> --
> Marco Roeland
>
-
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/