linux-mips
[Top] [All Lists]

Re: test machines; illegal instructions

To: jim@jtan.com
Subject: Re: test machines; illegal instructions
From: Jun Sun <jsun@mvista.com>
Date: Fri, 05 Oct 2001 10:48:15 -0700
Cc: "H . J . Lu" <hjl@lucon.org>, linux-mips@oss.sgi.com
References: <20010926221223.A17628@neurosis.mit.edu> <20010926202610.B7962@lucon.org> <20011004011632.A19472@neurosis.mit.edu>
Sender: owner-linux-mips@oss.sgi.com
Jim Paris wrote:
> 
> > > seen anything similar?  It's quite possibly a buggy cross compiler
> >
> > I won't recommend gcc 3.0.1 for mips. My RedHat 7.1 port has everyting
> > you need for cross/native compiling.
> 
> Even with the glibc and fileutils binaries from your port, 'rm' still
> either segfaults or gives an illegal instruction, so it's pretty
> certain that this is a kernel or CPU issue somehow.  Have you seen
> anything like this?  'rm' does work if I compile fileutils with -O0,
> but there still seems to be a larger problem at hand.
> 

If your cpu does not have ll/sc instruction, you might be suffering the famous
sysmips() problem.  The latest kernel should get you going.

There is also FPU emulation bug which may cause this problem, but that only
happens on heavy context switches and FPU usages.

Jun

<Prev in Thread] Current Thread [Next in Thread>