linux-mips
[Top] [All Lists]

Re: first packages for mipsel

To: debian-mips@lists.debian.org
Subject: Re: first packages for mipsel
From: Florian Lohoff <flo@rfc822.org>
Date: Fri, 6 Apr 2001 13:22:14 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <20010406130958.A14083@paradigm.rfc822.org>; from flo@rfc822.org on Fri, Apr 06, 2001 at 01:09:58PM +0200
Organization: rfc822 - pure communication
References: <20010406130958.A14083@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.15i
On Fri, Apr 06, 2001 at 01:09:58PM +0200, Florian Lohoff wrote:
> Hi,
> i just uploaded glibc 2.2.2 and db2 for debian-mipsel to incoming ...

BTW: This glibc uses "sysmips" for locking purposes - This means
that this lib would only work on "fixed" 2.4 kernels on ll/sc capable
machines. Its the same as for mips.

There are multiple solutions to this problem:

- ll/sc emulation in the kernel 
  Implementing an ll/sc emulation into the fast path of the illegal instruction
  handler and compile the glibc with ll/sc support.

- repair sysmips
  Sysmips is essentially broken - My fix i have sent to the linux-mips list
  is only a workaround but not a fix. Also there is currentl NO ISA I support
  in the sysmips implementation. I hope to get around to build a proper
  fix this weekend in assembly.

Probably we will do both - An even better solution would be to let the glibc
detect the ISA level or the existance of ll/sc in userspace and replace 
_test_and_set
with one or the other primitiv - Using sysmips on R3000 or ll/sc less systems.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


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