solaris libpq threaded build fails - Mailing list pgsql-hackers

From Andrew Chernow
Subject solaris libpq threaded build fails
Date
Msg-id 49231275.6050105@esilo.com
Whole thread Raw
Responses Re: solaris libpq threaded build fails  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
for anyone interested....

Solaris 2.5.1 with --enable-thread-safety

configure:25848: gcc -o conftest -O2 -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-fno-strict-aliasing -fwrapv  -pthreads   -pthreads  -D_REENTRANT 
-D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DIN_CONFIGURE   -lgcc_s 
-lvsnprintf  conftest.c -lz -lposix4 -lsocket -ldl -lm   -lpthread 
-lpthread    >&5
In file included from conftest.c:129:
./src/test/thread/thread_test.c: In function `main':
./src/test/thread/thread_test.c:179: warning: implicit declaration of 
function `mkstemp'
./src/test/thread/thread_test.c:188: warning: implicit declaration of 
function `gethostname'
Undefined     first referenced symbol           in file
gethostbyname                       /var/tmp//ccclix3s.o  (symbol 
belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:25851: $? = 1
configure: program exited with status 1
configure: failed program was:

so far: hpux 10.20, solaris 2.5.1 and cygwin builds all fail when thread 
safe is enable.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


pgsql-hackers by date:

Previous
From: Sam Mason
Date:
Subject: Re: is any reason why only one columns subselect are allowed in array()?
Next
From: Simon Riggs
Date:
Subject: Re: Reducing some DDL Locks to ShareLock