[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.5.26: OpenBSD and -pthread
From: |
Bob Friesenhahn |
Subject: |
Re: libtool 1.5.26: OpenBSD and -pthread |
Date: |
Tue, 29 Dec 2009 11:03:00 -0600 (CST) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Tue, 29 Dec 2009, Vincent Torri wrote:
Is -pthread not sufficient to do everything needed? Notice that this is
GCC and not just the "linker". GCC is expected to respond to -pthread.
if we just pass -pthread, then a binary using the library gives, for example,
the error:
tig$ eet
eet:/usr/local/lib/eina/mp/eina_chained_mempool.so: undefined symbol
'pthread_mutex_unlock'
Is -pthread also applied when the binary is built, or has it been
lost?
If you compile a trivial hello-world type program with '-v -pthread',
does the output show that an alternate libc or a threads library is
being used?
Unfortunately, support for -pthread or -pthreads in GCC is
platform specific since it is intended to emulate what the platform's
native compiler (if it has one) does.
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Re: libtool 1.5.26: OpenBSD and -pthread, Ralf Wildenhues, 2009/12/30