Vladimir Bychkovsky <vladimir.bychkovsky@gmail.com> writes:
> I have cross-compiled Postgresql 7.4.7. However, I can't initialized
> the database:
> creating template1 database in /mnt/var/pgsql/data/base/1... WARNING:
> ShmemIndex entry size is wrong
This suggests that something is confused about structure sizes or
alignments. There may be something broken about your cross-compilation
procedure. In particular, I'd recommend taking a close look at the
decisions the configure script has to make that are normally based on
running test programs --- in a cross-compile it has to guess, and I bet
it guessed wrong.
regards, tom lane