linux-mips
[Top] [All Lists]

Re: Build failure for R3000 DECstation

To: linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 13 Nov 2000 10:47:35 +0100
In-reply-to: <20001112210049.C26606@lug-owl.de>; from jbglaw@lug-owl.de on Sun, Nov 12, 2000 at 09:00:49PM +0100
References: <20001112210049.C26606@lug-owl.de>
Sender: owner-linux-mips@oss.sgi.com
On Sun, Nov 12, 2000 at 09:00:49PM +0100, Jan-Benedict Glaw wrote:

> I see this build failure:
> 
> mipsel-linux-gcc -D__KERNEL__ -I/usr/src/mipsel/linux/include -Wall 
> -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic 
> -mcpu=r3000 -mips1 -pipe     -c -o sysmips.o sysmips.c
> sysmips.c: In function `sys_sysmips':
> sysmips.c:109: warning: implicit declaration of function `syscall_trace'
> {standard input}: Assembler messages:
> {standard input}:337: Error: opcode requires -mips2 or greater `ll'
> {standard input}:339: Error: opcode requires -mips2 or greater `sc'
> {standard input}:340: Error: opcode requires -mips2 or greater `beqzl'
> {standard input}:341: Error: opcode requires -mips2 or greater `ll'
> make[1]: *** [sysmips.o] Error 1

The sysmips(MIPS_ATOMIC_SET, ...) implementation used to be completly broken.
I fixed it for CPUs with ll/sc and left the part with ll/sc to others.

Obviously none of them seemed to care so now I'm doing the quick fix.
Frankly, a syscall which shouldn't be used doesn't deserve more attention ...

  Ralf

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