public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Still have build error on 2.6.2 fc/proc/array.c
@ 2004-02-17 20:37 yiding_wang
  2004-02-20 13:03 ` Marco Roeland
  0 siblings, 1 reply; 3+ messages in thread
From: yiding_wang @ 2004-02-17 20:37 UTC (permalink / raw)
  To: smoogen; +Cc: linux-kernel

Thanks for everyone that replied!

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?

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[ 
            (set (reg:SI 0 eax)
                (asm_operands ("") ("=a") 0[ 
                        (reg:DI 1 edx)
                    ] 
                    [ 
                        (asm_input:DI ("A"))
                    ]  ("include/linux/times.h") 38))
            (set (reg:SI 1 edx)
                (asm_operands ("") ("=d") 1[ 
                        (reg:DI 1 edx)
                    ] 
                    [ 
                        (asm_input:DI ("A"))
                    ]  ("include/linux/times.h") 38))
            (clobber (reg:QI 19 dirflag))
            (clobber (reg:QI 18 fpsr))
            (clobber (reg:QI 17 flags))
        ] ) -1 (insn_list 721 (nil))
    (nil))
fs/proc/array.c:398: confused by earlier errors, bailing out
make[2]: *** [fs/proc/array.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2


Many thanks!

Eddei

> -----Original Message-----
> From: Stephen Smoogen [mailto:smoogen@lanl.gov]
> Sent: Friday, February 13, 2004 2:33 PM
> To: WANG,YIDING (A-SanJose,ex1)
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: what is the best 2.6.2 kernel code?
> 
> 
> On Fri, 2004-02-13 at 15:24, yiding_wang@agilent.com wrote:
> > I downloaded kernel linux-2.6.2.tar.gz and patch-2.6.2.bz2  
> from kernel source.  Both files are dated 03-Feb.-2004.   
> > 
> 
> The patch file is used for patching linux-2.6.1 -> 2.6.2 and not for
> anything else. Basically you should probably do a 
> 
> /bin/rm linux-2.6.2
> tar xzvf linux-2.6.2.tar.gz
> cd linux-2.6.2
> and follow the instructions on compiling from the README.
> 
> -- 
> Stephen John Smoogen		smoogen@lanl.gov
> Los Alamos National Lab  CCN-5 Sched 5/40  PH: 4-0645
> Ta-03 SM-1498 MailStop B255 DP 10S  Los Alamos, NM 87545
> -- So shines a good deed in a weary world. = Willy Wonka --
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Still have build error on 2.6.2 fc/proc/array.c
  2004-02-17 20:37 Still have build error on 2.6.2 fc/proc/array.c yiding_wang
@ 2004-02-20 13:03 ` Marco Roeland
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Roeland @ 2004-02-20 13:03 UTC (permalink / raw)
  To: yiding_wang; +Cc: linux-kernel

On Tuesday February 17th yiding_wang@agilent.com 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Still have build error on 2.6.2 fc/proc/array.c
@ 2004-02-20 16:59 yiding_wang
  0 siblings, 0 replies; 3+ messages in thread
From: yiding_wang @ 2004-02-20 16:59 UTC (permalink / raw)
  To: marco.roeland; +Cc: linux-kernel

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@localhost.cos.agilent.com]On Behalf Of
> Marco Roeland
> Sent: Friday, February 20, 2004 5:03 AM
> To: WANG,YIDING (A-SanJose,ex1)
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: Still have build error on 2.6.2 fc/proc/array.c
> 
> 
> On Tuesday February 17th yiding_wang@agilent.com 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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-20 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 20:37 Still have build error on 2.6.2 fc/proc/array.c yiding_wang
2004-02-20 13:03 ` Marco Roeland
  -- strict thread matches above, loose matches on Subject: below --
2004-02-20 16:59 yiding_wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox