[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool on FreeBSD with pthreads (with patch)
From: |
Bob Friesenhahn |
Subject: |
Re: Libtool on FreeBSD with pthreads (with patch) |
Date: |
Thu, 24 Jun 2004 09:32:06 -0500 (CDT) |
On Thu, 24 Jun 2004, trojan wrote:
I reach some little problem with libtool on FreeBSD when I build
packace which use -pthread flag. For example building gnome-vfs fails
with:
What version of libtool are you using? It is my understanding that
current libtool already captures these options in the .la file.
You should also keep in mind that if one component of an application
is built to use/support threads, that it is wise to build the entire
application the same way. This is because for non-thread-safe code,
errno is usually a simple global variable, while for thread-safe code,
errno is thread-specific data. There may also be differences in the
handling of stdio streams (locking vs non-locking). If the
application is built inconsistently, then its behavior may be
inconsistent.
So, you should have been using -pthread already. :-)
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen