Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 17:04:14 -0500
From:      Munish Chopra <chopra@soulwax.net>
To:        freebsd-current@freebsd.org
Subject:   Re: spinlock coredump.
Message-ID:  <20040215220414.GC59471@opiate.soulwax.net>
In-Reply-To: <16431.57045.45767.260237@canoe.dclg.ca>
References:  <16430.41516.536852.960246@canoe.dclg.ca> <402EC51C.7000509@ec.rr.com> <16431.57045.45767.260237@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-02-15 16:04 +0000, David Gilbert wrote:
> >>>>> "jason" == jason  <jason@ec.rr.com> writes:
> 
> jason> David Gilbert wrote:
> >> Does anyone know what has to be recompiled when this message
> >> occurs?
> >> 
> >> [2:6:263]dgilbert@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



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