Re: [BUGS] 8.0.0beta1: -lpthread missing

Поиск
Список
Период
Сортировка
От Martin Münstermann
Тема Re: [BUGS] 8.0.0beta1: -lpthread missing
Дата
Msg-id 4120D78B.6000300@betrusted.com
обсуждение исходный текст
Ответ на Re: [BUGS] 8.0.0beta1: -lpthread missing  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:
>>--> We need -lpthread on solaris, too.
>
>
> So the current CVS code is good?

No. At least not for solaris8.

configure says:
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes


Makefile.global:
PTHREAD_CFLAGS          = -pthreads -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS
PTHREAD_LIBS            =

No -lpthread and the resulting binaries have no dependancy on
libpthread.so, so at runtime only the stubs are being called.

Regards,
  Martin

В списке pgsql-patches по дате отправления:

Предыдущее
От: Martin Münstermann
Дата:
Сообщение: Re: [BUGS] 8.0.0beta1: -lpthread missing
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] 8.0 Beta 1 // Environment Vars // .pgpass