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.