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 : [EMAIL PROTECTED]  |
| 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         |
+--------------------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to