Re: initdb problem "ShmemIndex entry size is wrong" - Mailing list pgsql-ports

From Tom Lane
Subject Re: initdb problem "ShmemIndex entry size is wrong"
Date
Msg-id 1545.1110212014@sss.pgh.pa.us
Whole thread Raw
In response to initdb problem "ShmemIndex entry size is wrong"  (Vladimir Bychkovsky <vladimir.bychkovsky@gmail.com>)
List pgsql-ports
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

pgsql-ports by date:

Previous
From: Vladimir Bychkovsky
Date:
Subject: initdb problem "ShmemIndex entry size is wrong"
Next
From: Peter Eisentraut
Date:
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion