Re: gcc 4.6 and hot standby

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: gcc 4.6 and hot standby
Date: 2011-06-08 19:05:09
Message-ID: 2180.1307559909@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alex Hunsaker <badalex(at)gmail(dot)com> writes:
> So I tracked it down to "-fgcse", that is CFLAGS="-O2 -fno-gcse"
> ./configure works. I then took a few guesses and compiled all of
> postgres with -O2, then manually recompiled xlog.c with -f-no-gcse.
> that combination seems to work.

Huh, interesting. So the bug must be lurking somewhere around the logic
that deals with failedSources: somehow we're getting to the
ShutdownWalRcv call in XLogPageRead.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-06-08 19:26:42 Re: contrib/citext versus collations
Previous Message Alex Hunsaker 2011-06-08 18:58:17 Re: gcc 4.6 and hot standby