From owner-freebsd-sparc64@FreeBSD.ORG Mon Apr 17 18:35:03 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 08E1316A403; Mon, 17 Apr 2006 18:35:02 +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 4A18443D75; Mon, 17 Apr 2006 18:34:58 +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 3283B1A4E59; Mon, 17 Apr 2006 11:34:58 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BF55851E87; Mon, 17 Apr 2006 14:34:56 -0400 (EDT) Date: Mon, 17 Apr 2006 14:34:55 -0400 From: Kris Kennaway To: Daniel Eischen Message-ID: <20060417183454.GA93519@xor.obsecurity.org> References: <20060416220250.K52948@hades.admin.frm2> <44436C5B.50703@orel.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-threads@freebsd.org, 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: Mon, 17 Apr 2006 18:35:03 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 17, 2006 at 07:47:05AM -0400, Daniel Eischen wrote: > On Mon, 17 Apr 2006, Andrew Belashov wrote: >=20 > >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 se= em=20 > >>to have problems on sparc64. > >>The relevant ports are net/gatekeeper, net/openmcu and the exact error= =20 > >>message is: > >>/usr/local/lib/libpt_r.so: undefined reference to=20 > >>`pthread_mutex_timedlock' >=20 > Note that /usr/local/lib/foo is not part of FreeBSD base, so > it looks like the sparc build machine is using a non-standard > thread library. >=20 > >>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= =20 > >>should not occur, unless there is something missing or wrong in the=20 > >>sparc64 thread library. > >>I can't investigate this further because i have no access to a sparc64= =20 > >>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 >=20 > Also, some sparc64-knowledgeable person(s) need to make > libpthread work on sparc64 ;-) libthr *is* the thread library on sparc64; as Daniel says, libpthread is not ported to sparc64. Kris --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEQ9/OWry0BWjoQKURArPcAJ420x3NrWcKB4DpBLkr4FkUJq6jtACgjXGS 81OzUGx9NG+19fPIRD3F2p8= =OT62 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--