Re: cvs head initdb hangs on unixware
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: ohp@pyrenet.fr, Tom Lane <tgl@sss.pgh.pa.us>, Zdenek Kotala <Zdenek.Kotala@Sun.COM>, pgsql-hackers list <pgsql-hackers@postgresql.org>
Date: 2008-12-10T11:35:17Z
Lists: pgsql-hackers
Heikki Linnakangas wrote: > ohp@pyrenet.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? I assume this is the SCO compiler; I gave up on the SCO compiler in the 1990's, and I suggest we do the same. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +