I just tried building postgres from CVS and when I 'gmake check' I get this:
---------------------
All of PostgreSQL successfully made. Ready to install.
gmake -C src/test check
gmake[1]: Entering directory `/home/chriskl/pgsql/src/test'
gmake -C regress check
gmake[2]: Entering directory `/home/chriskl/pgsql/src/test/regress'
gmake -C ../../../contrib/spi REFINT_VERBOSE=1 refint.so autoinc.so
gmake[3]: Entering directory `/home/chriskl/pgsql/contrib/spi'
gmake[3]: `refint.so' is up to date.
gmake[3]: `autoinc.so' is up to date.
gmake[3]: Leaving directory `/home/chriskl/pgsql/contrib/spi'
/bin/sh
./pg_regress --temp-install --top-builddir=../../.. --schedule=./parallel_sc
hedule --multibyte=
============== removing existing temp installation ==============
============== creating temporary installation ==============
============== initializing database system ==============
pid 31952 (postgres): unaligned access: va=0x1202ac024 pc=0x120139398
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ac034 pc=0x1201393ac
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ac03c pc=0x1201393b0
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ac044 pc=0x120139398
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ac054 pc=0x1201393ac
ra=0x120139374 op=stq
... stacks of similar lines ...
pid 31952 (postgres): unaligned access: va=0x1202ad2b4 pc=0x1201393ac
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ad2bc pc=0x1201393b0
ra=0x120139374 op=stq
pid 31952 (postgres): unaligned access: va=0x1202ac0a4 pc=0x1201394d4
ra=0x1201324e4 op=ldq
pid 31952 (postgres): unaligned access: va=0x1202ac0a4 pc=0x1201394dc
ra=0x1201324e4 op=ldq_l
pg_regress: initdb failed
Examine ./log/initdb.log for the reason.
gmake[2]: Leaving directory `/home/chriskl/pgsql/src/test/regress'
gmake[1]: Leaving directory `/home/chriskl/pgsql/src/test'
--------------------
OK, let's look at the log:
--------------------
chriskl@database:~/pgsql$ tail src/test/regress/log/initdb.log
creating directory /home/chriskl/pgsql/src/test/regress/./tmp_check/data...
ok
creating directory
/home/chriskl/pgsql/src/test/regress/./tmp_check/data/base... ok
creating directory
/home/chriskl/pgsql/src/test/regress/./tmp_check/data/global... ok
creating directory
/home/chriskl/pgsql/src/test/regress/./tmp_check/data/pg_xlog... ok
creating directory
/home/chriskl/pgsql/src/test/regress/./tmp_check/data/pg_clog... ok
creating template1 database in
/home/chriskl/pgsql/src/test/regress/./tmp_check/data/base/1... Bus error -
core d
umped
initdb failed.
Data directory /home/chriskl/pgsql/src/test/regress/./tmp_check/data will
not be removed at user's request.
---------------------
Any ideas?