FIXED Re: Kernel 2.1.117 OOPS bug report

rbarnett (rbarnett@scf-fs.usc.edu)
Fri, 21 Aug 1998 11:47:44 -0700 (PDT)


The problem was solved when I upgraded to EGCS 2.91.54 (build 980816).
Both binary distributions of EGCS 1.0.2 and 1.0.3a did not properly
perform the "fastcall" operation in __switch_to. After manually compiling
and installing the latest EGCS snapshot, the kernel compiled and booted-up
cleanly.

Thanks everyone for your help.

--
Ryan Barnett
USC Computer Engineering

On Fri, 21 Aug 1998, Linus Torvalds wrote:

> 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