From: | Seum-Lim Gan <slgan(at)lucent(dot)com> |
---|---|
To: | "Liang, Guang Yu (Lucy)" <lucyliang(at)lucent(dot)com>, "'Michael Meskes'" <meskes(at)postgresql(dot)org> |
Cc: | pgsql-bugs(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: dyntest.pgc not working in 7.4 ? |
Date: | 2004-01-08 18:05:11 |
Message-ID: | p05100368bc234a6657bb@[192.168.10.154] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi Michael and all,
After working with Bruce last night about the
src/template/solaris file, there is a new version
of the file to be used for compiling with
--enable-thread-safety.
This version compiled without errors this time.
This version also resolved the issue with dyntest.pgc
failing in 7.4.x.
I have tested the new compile and ran both dyntest and dyntest2.
Both ran without problem.
Just for quick reference the new template/solaris file
from Bruce looks like this:
============
if test "$GCC" != yes ; then
CC="$CC -Xa" # relaxed ISO C mode
CFLAGS="-O -v" # -v is like gcc -Wall
fi
# Pick right test-and-set (TAS) code.
case $host in
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;
esac
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
if test "$GCC" = yes
then THREAD_LIBS="-pthread"
else THREAD_CPPFLAGS="-mt"
THREAD_LIBS="-lpthread"
fi
============
Both Lucy and I would like to thank everyone who helped
one way or the other !
Thanks.
Gan
--
+--------------------------------------------------------+
| Seum-Lim GAN email : slgan(at)lucent(dot)com |
| Lucent Technologies |
| 2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 |
| Naperville, IL 60566, USA. fax : (630)-713-7272 |
| web : http://inuweb.ih.lucent.com/~slgan |
+--------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Esh, Andrew | 2004-01-08 18:52:48 | character varying array bug in 7.4.1 |
Previous Message | Tom Lane | 2004-01-08 17:18:40 | Re: BUG #1044: snprintf() shipped with PostgreSQL is not thread safe |