On Thu, Jan 27, 2005 at 12:59:06PM -0700, Michael Fuhr wrote:
> When I get a chance I'll do a build with --enable-thread-safety
> and without --enable-debug and see if it matters.
It occurred to me that --enable-thread-safety affects the client-side
libraries so I don't know why that would matter to the server, but
I did another build anyway and all checks passed (see below).
A few months ago an issue with strtod() on Solaris came up:
http://archives.postgresql.org/pgsql-bugs/2004-08/msg00073.php
http://archives.postgresql.org/pgsql-bugs/2004-08/msg00127.php
I wonder if you're experiencing a related or similar problem that
only shows up with certain build tools.
Build results:
% ./configure --enable-thread-safety && gmake check
...
======================
All 96 tests passed.
======================
% ldd src/test/regress/tmp_check/install/usr/local/pgsql/bin/postmaster
libz.so.1 => /usr/lib/libz.so.1
libreadline.so.5 => /usr/local/lib/libreadline.so.5
libcurses.so.1 => /usr/lib/libcurses.so.1
librt.so.1 => /usr/lib/librt.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmd5.so.1 => /usr/lib/libmd5.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
/usr/platform/SUNW,Ultra-1/lib/libmd5_psr.so.1
% gcc --version
gcc (GCC) 3.4.2
...
% gmake --version
GNU Make 3.80
...
% uname -a
SunOS foo.example.com 5.9 Generic_117171-17 sun4u sparc SUNW,Ultra-1
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/