Re: BUG #2436: cannot --enable-thread-safety on -lpthread host

From: Paul Forgey <paulf(at)aphrodite(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2436: cannot --enable-thread-safety on -lpthread host
Date: 2006-05-15 19:27:54
Message-ID: 9E104FEB-023C-462F-829F-DC7EB0300D05@aphrodite.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

As given in my OS info, this isn't FC4. The configure script fails
to enable threading in Debian Sarge.

On May 15, 2006, at 6:48 AM, Tom Lane wrote:

> "Paul Forgey" <paulf(at)aphrodite(dot)com> writes:
>> Linux supplies -lpthread. The configure script seems to only look
>> for
>> -lpthreads and then give up.
>
> Say again? I get this configure trace on Fedora 4:
>
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking whether pthreads work with -pthreads... no
> checking whether pthreads work with -mthreads... no
> checking for the pthreads library -lpthread... yes
> checking whether pthreads work with --thread-safe... no
> checking whether pthreads work with -mt... no
> checking for the pthreads library -lpthreadGC2... no
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
>
> regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jim C. Nasby 2006-05-15 19:51:00 Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Previous Message Larry Rosenman 2006-05-15 19:20:51 Re: postgresql-[any version] from FreeBSD ports - startup problems after crash