This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Kernel 2.1.117 OOPS w/egcs




---------- Forwarded message ----------
Date: Fri, 21 Aug 1998 06:01:13 -0700 (PDT)
From: Linus Torvalds <torvalds@transmeta.com>
To: rbarnett <rbarnett@scf-fs.usc.edu>
Cc: Kernel Mailing List <linux-kernel@vger.rutgers.edu>
Subject: Re: Kernel 2.1.117 OOPS bug report



On Thu, 20 Aug 1998, rbarnett wrote:
>
> I'm using egcs-2.90.27 980315 (egcs-1.0.2 release) with binutils
> 2.8.1.0.23.
> 
> Running gdb 4.17 on vmlinux (2.1.117) displays the following output:
> 
> (gdb) x/10i __switch_to
> 0xc01088d0 <__switch_to>:       pushl  %esi
> 0xc01088d1 <__switch_to+1>:     pushl  %ebx
> 0xc01088d2 <__switch_to+2>:     movl   0xc(%esp,1),%ebx
> 0xc01088d6 <__switch_to+6>:     movl   0x10(%esp,1),%ecx

Ok, egcs for some reason refuses to do the fastcall thing. 

> Your interpretation? Shall I reinstall GNU gcc and abandon egcs?

I wonder. The above certainly implies that at least your particular
version of egcs cannot compile the current kernels, but I don't know why. 
Before abandoning egcs you might want to talk to some egcs people to see
whether there is some simple way to make egcs do the right thing. 

		Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]