Lists: | pgsql-bugs |
---|
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 |
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: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Seum-Lim Gan <slgan(at)lucent(dot)com> |
Cc: | "Liang, Guang Yu (Lucy)" <lucyliang(at)lucent(dot)com>, 'Michael Meskes' <meskes(at)postgresql(dot)org>, 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-12 19:42:45 |
Message-ID: | 20040112194245.GA2869@1 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
On Thu, Jan 08, 2004 at 12:05:11PM -0600, Seum-Lim Gan wrote:
> 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.
> ...
> I have tested the new compile and ran both dyntest and dyntest2.
> Both ran without problem.
Glad to hear that.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!