Re: spinlock coredump.

From: Munish Chopra <chopra_at_soulwax.net>
Date: Sun, 15 Feb 2004 17:04:14 -0500
On 2004-02-15 16:04 +0000, David Gilbert wrote:
> >>>>> "jason" == jason  <jason_at_ec.rr.com> writes:
> 
> jason> David Gilbert wrote:
> >> Does anyone know what has to be recompiled when this message
> >> occurs?
> >> 
> >> [2:6:263]dgilbert_at_canoe:~> xmms Fatal error 'Spinlock called when
> >> not threaded.' at line 83 in file
> >> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> 
> jason> try portupgrade -Rr xmms to get all that depend on xmms and all
> jason> that xmms depends on.
> 
> This worked for xmms, however, now some other library causes the kde
> build to fail.  It seems like a mark and sweep of all ports using
> threads might be necessary.
>

This worked for me:

1. Remap pthread to c_r in libmap.conf for everything.

2. portupgrade -afR

3. Remove mapping.

The spinlock build errors didn't happen as long as the mapping was in
place, and now that everything is rebuilt things work as usual again.

-- 
Munish Chopra
Received on Sun Feb 15 2004 - 13:04:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC