pthread_mutex_timedlock on sparc64

Kris Kennaway kris at obsecurity.org
Mon Apr 17 18:35:03 UTC 2006


On Mon, Apr 17, 2006 at 07:47:05AM -0400, Daniel Eischen wrote:
> On Mon, 17 Apr 2006, Andrew Belashov wrote:
> 
> >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'
> 
> 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.
> 
> >>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
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20060417/536c8190/attachment.pgp


More information about the freebsd-threads mailing list