From owner-freebsd-sparc64@FreeBSD.ORG Thu Apr 20 20:53:41 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 C65D716A402 for ; Thu, 20 Apr 2006 20:53:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A48A43D45 for ; Thu, 20 Apr 2006 20:53:41 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 616C91A4D94; Thu, 20 Apr 2006 13:53:41 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C202E55085; Thu, 20 Apr 2006 16:53:40 -0400 (EDT) Date: Thu, 20 Apr 2006 16:53:40 -0400 From: Kris Kennaway To: Miles Nordin Message-ID: <20060420205340.GA29736@xor.obsecurity.org> References: <20060418204240.GA69833@xor.obsecurity.org> <001801c66372$a032e770$2522630a@t22> <20060419054116.GA39394@xor.obsecurity.org> <20060420074713.Y52948@hades.admin.frm2> <20060420182331.GA26174@xor.obsecurity.org> <20060420204114.GA29490@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-sparc64@freebsd.org Subject: Re: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 20:53:41 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 20, 2006 at 04:46:27PM -0400, Miles Nordin wrote: > >>>>> "kk" =3D=3D Kris Kennaway writes: >=20 > kk> (libc_r, libpthread, libthr). >=20 > so these three are mutually exclusive? They are different, incompatible pthread implementations, yes. > Isn't libkse a fourth option, > when it starts working? Which is which (1:N, 1:1, MxN)? libkse is the same code as what is installed as libpthread on other architectures (i.e. M:N), but since it doesn't work on sparc it is not not installed as libpthread (libthr or libc_r are depending on version). > kk> cc -pthread links to whatever version is specified by the > kk> user. >=20 > but...I'm the user. I specify how? Are you supposed to always > specify -lpthread at build time and then configure with libmap.conf? -pthread, not -lpthread. But yes, libmap.conf or equivalent mechanisms (see manpage). Kris --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFER/TUWry0BWjoQKURAi7MAKCRlfytOXX7X3fgLOkPqz84EGGa6ACguWX7 3XUO7ZOTVp4iJqVBx3mmkhw= =oAux -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--