From owner-freebsd-threads@FreeBSD.ORG Mon Apr 17 10:22:25 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 8D8F316A400; Mon, 17 Apr 2006 10:22:25 +0000 (UTC) (envelope-from bel@orel.ru) Received: from mail.orel.ru (relay.orel.ru [213.59.64.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id E186C43D45; Mon, 17 Apr 2006 10:22:24 +0000 (GMT) (envelope-from bel@orel.ru) Received: from [192.168.99.99] (pf1.net.orel.ru [213.59.64.75]) by mail.orel.ru (8.13.4/8.13.4) with ESMTP id k3HAMJak076898; Mon, 17 Apr 2006 14:22:21 +0400 (MSD) (envelope-from bel@orel.ru) Message-ID: <44436C5B.50703@orel.ru> Date: Mon, 17 Apr 2006 14:22:19 +0400 From: Andrew Belashov Organization: ORIS User-Agent: Thunderbird 1.5 (X11/20060123) MIME-Version: 1.0 To: Joerg Pulz References: <20060416220250.K52948@hades.admin.frm2> In-Reply-To: <20060416220250.K52948@hades.admin.frm2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on mail.orel.ru host X-Antivirus-Code: 100000 X-Zombi-Check: on netra2.orel.ru Cc: 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: Mon, 17 Apr 2006 10:22:25 -0000 Hello, Joerg! Joerg Pulz wrote: > sorry for the cross posting but i think it is related to both lists. > > Today i got two mails from pointyhat for ports that i maintain which > seem to have problems on sparc64. > The relevant ports are net/gatekeeper, net/openmcu and the exact error > message is: > /usr/local/lib/libpt_r.so: undefined reference to `pthread_mutex_timedlock' > > There is another port net/openam which has the same problem. > > As far as i can see, the '-pthread' argument is used and therefore this > should not occur, unless there is something missing or wrong in the > sparc64 thread library. > I can't investigate this further because i have no access to a sparc64 > machine running any version FreeBSD. > > Any information regarding this problem is much appreciated. > > Kind regards > Joerg > What about libthr library? For switching to libthr: # echo "libc_r.so libthr.so" >>/etc/libmap.conf -- With Best Regards, Andrew Belashov.