From owner-freebsd-sparc64@FreeBSD.ORG Wed Apr 19 12:37:20 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7318816A400; Wed, 19 Apr 2006 12:37:20 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B88C43D4C; Wed, 19 Apr 2006 12:37:19 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k3JCbHxa026449; Wed, 19 Apr 2006 08:37:17 -0400 (EDT) Date: Wed, 19 Apr 2006 08:37:17 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <20060419054116.GA39394@xor.obsecurity.org> Message-ID: References: <20060418204240.GA69833@xor.obsecurity.org> <001801c66372$a032e770$2522630a@t22> <20060419054116.GA39394@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-sparc64@freebsd.org, freebsd-threads@freebsd.org Subject: Re: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 12:37:20 -0000 On Wed, 19 Apr 2006, Kris Kennaway wrote: > On Wed, Apr 19, 2006 at 03:32:18PM +1000, Sean Winn wrote: >> Kris Kennaway wrote: >>> On Tue, Apr 18, 2006 at 07:28:00PM +1000, Sean Winn wrote: >>>> owner-freebsd-sparc64@freebsd.org wrote: >>>>> >>>>> libthr *is* the thread library on sparc64; as Daniel says, >>>>> libpthread is not ported to sparc64. >>>>> >>>>> Kris >>>> >>>> Not yet in 6.x >>>> >>>> 19:25 Tue 18-Apr sean@bloody [~] uname -msr >>>> FreeBSD 6.1-RC1 sparc64 >>>> 19:25 Tue 18-Apr sean@bloody [~] ls -l /usr/lib/libpthread.so >>>> lrwxrwxrwx 1 root wheel 9 Apr 17 04:05 /usr/lib/libpthread.so -> >>>> libc_r.so >>> >>> Oops, I forgot about that..although so did David when he removed >>> libc_r from 7.0 and broke sparc :-) >>> >>> So I guess this is a libc_r missing feature. Probably the solution is >>> to use libthr on 6.x too (I don't know if it works well enough on >>> 5.x). libthr causes witness panics under load on sparc64 though. >>> >>> Kris >> >> Would threading problems be related to sparc64/73413? I've noticed it >> sitting idle for a long while, and the test case still core dumps. The >> PR it references (sparc64/72998) also is open. > > Huh, turns out libpthread does exist on sparc, it's just called > libkse. Anyway, since it's not in use the PR wasn't relevant. Yeah, I implemented as much as I could for it, but it doesn't work. So it's installed as libkse as a prod for someone to finish and test it. -- DE