On 3/25/04 4:13 PM, Bruce Momjian [EMAIL PROTECTED] wrote:
Are you sure your change is correct? We just added
-D_POSIX_PTHREAD_SEMANTICS in post 7.4.2, and the submitters did not
mention any problems with the -pthread line for gcc.
I just tried it on Sourceforge's Solaris 9 and I see:
[EMAIL PROTECTED] wrote:
On 3/25/04 4:13 PM, Bruce Momjian [EMAIL PROTECTED] wrote:
Are you sure your change is correct? We just added
-D_POSIX_PTHREAD_SEMANTICS in post 7.4.2, and the submitters did not
mention any problems with the -pthread line for gcc.
I just tried it on
Changing config.status, now that's what I call a quick and dirty hack.
The attached diff against 7.4.2 incorporates Joe Conway's checks for
getqwuid_r() has 4/5 arguments with a pthread compile autoconf check
that I found a while back in the gnu autoconf archives.
I think we should change
On 3/25/04 3:43 PM, Bruce Momjian [EMAIL PROTECTED] wrote:
I assume you were using 7.4.0, rather than 7.4.2. Current CVS has in
template/solaris:
# tools/thread/thread_test must be run
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other
things
if test $GCC = yes
then
[EMAIL PROTECTED] wrote:
On 3/25/04 7:27 AM, Jan Wieck [EMAIL PROTECTED] wrote:
One other problem I am looking into (and why I tried to compile with
thread safety in the first place) is that this somehow did not turn on
-D_REENTRANT in the CFLAGS for libpq. And that leads to libpq not
Jan Wieck wrote:
This problem was just recently fixed in cvs and will go out in the 7.4.3
release. For no your best bet is to checkout the 7.4 branch from cvs, or
search the pgsql-committers archives to find the patch you need to apply.
Isn't that funny ... I just yesterday ran into
Jan Wieck wrote:
Changing config.status, now that's what I call a quick and dirty hack.
The attached diff against 7.4.2 incorporates Joe Conway's checks for
getqwuid_r() has 4/5 arguments with a pthread compile autoconf check
that I found a while back in the gnu autoconf archives.
I
On Fri, 19 Mar 2004, Carmen Gloria Sepulveda Dedes wrote:
Hi.
I want to install postgres 7.4.2 on solaris 9.
I configure with: ./configure --enable-thread-safety
and it works fine (no error).
When I do gmake, I get this error:
thread.c: In function `pqGetpwuid':
thread.c:116:
Hi.
I want to install postgres 7.4.2 on solaris 9.
I configure with: ./configure --enable-thread-safety
and it works fine (no error).
When I do gmake, I get this error:
thread.c: In function `pqGetpwuid':
thread.c:116: error: too many arguments to function `getpwuid_r'
make[3]: *** [thread.o]