From owner-freebsd-threads@FreeBSD.ORG Wed Apr 19 05:32:38 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 658BB16A401; Wed, 19 Apr 2006 05:32:38 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from visi.gothic.net.au (visi.gothic.net.au [202.182.72.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id D318543D45; Wed, 19 Apr 2006 05:32:37 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from localhost (localhost [127.0.0.1]) by visi.gothic.net.au (Postfix) with ESMTP id 504EB26A4A; Wed, 19 Apr 2006 15:32:36 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from localhost ([127.0.0.1]) by localhost (visi.gothic.net.au [127.0.0.1]) (amavisd-new, port 10026) with SMTP id gWWFmAJ71GtI; Wed, 19 Apr 2006 15:32:31 +1000 (EST) Received: from t22 (home.winn.id.au [202.182.72.30]) by visi.gothic.net.au (Postfix) with ESMTP id 4000926A3A; Wed, 19 Apr 2006 15:32:31 +1000 (EST) From: "Sean Winn" To: "'Kris Kennaway'" Date: Wed, 19 Apr 2006 15:32:18 +1000 Message-ID: <001801c66372$a032e770$2522630a@t22> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZjKL+KlqYL/6KzSNWxRovjDdTIjwARuLqw In-Reply-To: <20060418204240.GA69833@xor.obsecurity.org> Cc: 'Daniel Eischen' , freebsd-sparc64@freebsd.org, freebsd-threads@freebsd.org Subject: RE: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 05:32:38 -0000 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=sparc64/73413