Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 14:34:55 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        freebsd-threads@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   Re: pthread_mutex_timedlock on sparc64
Message-ID:  <20060417183454.GA93519@xor.obsecurity.org>
In-Reply-To: <Pine.GSO.4.64.0604170744350.18659@sea.ntplx.net>
References:  <20060416220250.K52948@hades.admin.frm2> <44436C5B.50703@orel.ru> <Pine.GSO.4.64.0604170744350.18659@sea.ntplx.net>

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

--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--



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