Re: initdb problem "ShmemIndex entry size is wrong"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: initdb problem "ShmemIndex entry size is wrong"
Date: 2005-03-07 16:13:34
Message-ID: 1545.1110212014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2005-03-07 18:45:43 Re: cross compiling postgresql 8.0.1 -- suggestion
Previous Message Vladimir Bychkovsky 2005-03-07 15:20:42 initdb problem "ShmemIndex entry size is wrong"