From: | <wespvp(at)syntegra(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-general <pgsql-general(at)postgresql(dot)org>, joseph speigle <joe(dot)speigle(at)jklh(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: thread_test.c problems |
Date: | 2004-04-25 05:16:06 |
Message-ID: | BCB0B3C6.7E2D%wespvp@syntegra.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 4/24/04 9:15 PM, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> No, see pgsql/config/acx_pthread.m4. It does the THREAD_LIBS part
> automatically, and the THREAD_SUPPORT part is gone. We run our thread
> test as part of configure now.
I must be missing something. I don't see a -lpthread anywhere. The libpq
linking is:
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -bundle fe-auth.o fe-connect.o fe-exec.o fe-misc.o
fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o
fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o noblock.o path.o thread.o
-L../../../src/port -lssl -lcrypto -lkrb5 -lresolv -D_REENTRANT
-D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -o libpq.so.3.2
How can this be linking in thread support without -lpthread?
Wes
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2004-04-25 05:37:30 | Re: PostgreSQL 7.4.2 initdb problem |
Previous Message | Simon Moses | 2004-04-25 05:13:01 | loading data into postgresql became slow after i used VACUUME command. |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2004-04-25 05:50:11 | Re: Do we prefer software that works or software that |
Previous Message | Neil Conway | 2004-04-25 05:06:49 | Re: Multiple statements in one prepare |