Dave Page <dpage@pgadmin.org> writes:
>> On Mon, Aug 30, 2010 at 3:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Also, although moa is actually green for 8.3, it's showing an initdb
>>> failure in 8.4 and up ("cache lookup failed for type 0" while processing
>>> system_views.sql). �I'm betting this is some sort of
>>> over-aggressive-optimization problem, but it's hard to tell much from
>>> the buildfarm logs. �Could you look into that and find out exactly where
>>> it's failing?
> Looks like -xO4 caused this. -xO3 seems to be OK in a test.
Hmm. I wonder whether -xO4 invokes something comparable to strict
aliasing optimizations. Does Sun Studio have anything corresponding to
-fno-strict-aliasing ?
regards, tom lane