Re: cvs head initdb hangs on unixware

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: ohp(at)pyrenet(dot)fr
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cvs head initdb hangs on unixware
Date: 2008-12-10 11:00:31
Message-ID: 493FA14F.9070207@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ohp(at)pyrenet(dot)fr wrote:
> On Tue, 9 Dec 2008, Tom Lane wrote:
>> Hmm. It looks to me like the compiler is getting confused by the
>> interaction between nodeno, leftnodeno, and rightnodeno. Try this
>> patch to see if it gets around it. (This is a tad better anyway
>> since it avoids examining the right child if not needed.)
>>
> Brillant!
> You made my day, can't wait for this patch to be committed.

I find it pretty scary to work around compiler bugs like this. Who knows
what other code it miscompiles. Can you reduce fsm_search_avail into a
small stand-alone test program, and file a bug report with the compiler
vendor?

BTW, why does this work on warthog buildfarm member? Different compiler
version?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-12-10 11:08:45 Re: WAL documentation changes
Previous Message Heikki Linnakangas 2008-12-10 10:49:45 Re: Multiplexing SUGUSR1