Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-30 Thread Ralf Wildenhues
Hello Vincent, * Vincent Torri wrote on Mon, Dec 28, 2009 at 07:34:09PM CET: When passing -pthread to my_lib_LDFLAGS and my_lib_CFLAGS in Makefile.am, on OpenBSD (libtool 1.5.26), the linker does not have -lpthread, but just -pthread : Does it help to use the ACX_PTHREAD macro from the

Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-29 Thread Bob Friesenhahn
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

Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-29 Thread Vincent Torri
On Tue, 29 Dec 2009, Bob Friesenhahn wrote: 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? -pthread should also be passed to any binary that uses a lib using

Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-29 Thread Bob Friesenhahn
On Tue, 29 Dec 2009, Vincent Torri wrote: On Tue, 29 Dec 2009, Bob Friesenhahn wrote: 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? -pthread should also be passed

libtool 1.5.26: OpenBSD and -pthread

2009-12-28 Thread Vincent Torri
-pthread -pthread Is there a known problem with OpenBSD and -pthread, using libtool 1.5.26 ? thank you Vincent Torri ___ http://lists.gnu.org/mailman/listinfo/libtool

Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-28 Thread Bob Friesenhahn
On Mon, 28 Dec 2009, Vincent Torri wrote: When passing -pthread to my_lib_LDFLAGS and my_lib_CFLAGS in Makefile.am, on OpenBSD (libtool 1.5.26), the linker does not have -lpthread, but just -pthread : Is -pthread not sufficient to do everything needed? Notice that this is GCC and not just

Re: libtool 1.5.26: OpenBSD and -pthread

2009-12-28 Thread Vincent Torri
On Mon, 28 Dec 2009, Bob Friesenhahn wrote: On Mon, 28 Dec 2009, Vincent Torri wrote: When passing -pthread to my_lib_LDFLAGS and my_lib_CFLAGS in Makefile.am, on OpenBSD (libtool 1.5.26), the linker does not have -lpthread, but just -pthread : Is -pthread not sufficient to do