Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 16:42:40 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Sean Winn <sean@gothic.net.au>
Cc:        'Daniel Eischen' <deischen@freebsd.org>, freebsd-threads@freebsd.org, freebsd-sparc64@freebsd.org, 'Kris Kennaway' <kris@obsecurity.org>
Subject:   Re: pthread_mutex_timedlock on sparc64
Message-ID:  <20060418204240.GA69833@xor.obsecurity.org>
In-Reply-To: <002d01c662ca$62e99970$2522630a@t22>
References:  <20060417183454.GA93519@xor.obsecurity.org> <002d01c662ca$62e99970$2522630a@t22>

next in thread | previous in thread | raw e-mail | index | archive | help

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 18, 2006 at 07:28:00PM +1000, Sean Winn wrote:
> owner-freebsd-sparc64@freebsd.org wrote:
> >=20
> > libthr *is* the thread library on sparc64; as Daniel says, libpthread
> > is not ported to sparc64.=20
> >=20
> > Kris
>=20
> Not yet in 6.x
>=20
> 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
--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD4DBQFERU9AWry0BWjoQKURAguzAJdpRILbVzKClzo6kJekDA/nQwdUAJ4uQ07l
gxkBH51QwI1y/4UCyXsyKA==
=KsBO
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060418204240.GA69833>