Subject: Re: FreeBSD and "Spinlock called when not threaded" and arts and
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 05/04/2005 13:23:20
On Tue, 3 May 2005 23:17:50 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> But the pkgsrc/glib2/Makefile says:
> 
> # FreeBSD fix for libgthread:
> # Be sure libgthread is linked to the threaded library (libc_r), otherwise
> # -pthread is added and this won't work with libraries, only executable
> # binaries.
> 
> Any ideas about this?
> 
> Is the above FreeBSD fix applicable for FreeBSD 5.3 or is it for FreeBSD
> -current or FreeBSD 4.x??

This was necessary for FreeBSD >= 5.2 if I remember correctly, maybe
libpthread has to be used again?

(Haven't used FreeBSD in long time).