Re: Buildfarm member gypsy_moth seems not to like alignment patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jorgen Austvik - Sun Norway <Jorgen(dot)Austvik(at)Sun(dot)COM>
Cc: Gorm(dot)Andersen(at)Sun(dot)COM, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Buildfarm member gypsy_moth seems not to like alignment patch
Date: 2008-02-29 17:49:50
Message-ID: 9162.1204307390@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jorgen Austvik - Sun Norway <Jorgen(dot)Austvik(at)Sun(dot)COM> writes:
> Tom Lane wrote:
>> This is unfortunate and surprising, since that patch was intended to
>> prevent compilers from making unsafe alignment assumptions, but it sure
>> looks like this compiler has instead added a new one. Could you poke
>> into it --- at least get a stack trace from the core dump?

> Running initdb with debug:

Hah, I guess the problem is that the compiler decided it was okay to put
the local variable "chunk_data" at an unaligned address. Patched, but
we'll have to see whether any other places have similar issues.

Thanks for doing the gdb-work.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-02-29 18:24:52 Re: CopyReadLineText optimization
Previous Message Simon Riggs 2008-02-29 17:44:47 Re: Read-ahead and parallelism in redo recovery