From: | <wespvp(at)syntegra(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, <wespvp(at)syntegra(dot)com> |
Cc: | Jan Wieck <JanWieck(at)yahoo(dot)com>, Kris Jurka <books(at)ejurka(dot)com>, Carmen Gloria Sepulveda Dedes <csepulveda(at)atichile(dot)com>, pgsql <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: 7.4.2 on Solaris 9 - Error |
Date: | 2004-03-25 21:58:12 |
Message-ID: | BC88B214.BD04%wespvp@syntegra.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 3/25/04 3:43 PM, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> 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 THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
> THREAD_LIBS="-pthread"
> else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
> THREAD_LIBS="-lpthread"
> fi
I'm right in the middle - using 7.4.1 with GCC. However, I did try 7.4.2
and it has the same problem.
Looks like a typo in template/solaris, and certainly explains the bad
parameter on gcc. The "if gcc" has the incorrect "-pthread".
This would seem an appropriate place to add - -D_REENTRANT to fix the errno
issue, wouldn't it?
Wes
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-03-25 22:13:14 | Re: 7.4.2 on Solaris 9 - Error |
Previous Message | Bruce Momjian | 2004-03-25 21:54:18 | Re: Solaris ecpg program doesn't work - pulling my hair |