On Tue, Aug 31, 2010 at 2:51 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Dave Page <dp...@pgadmin.org> writes: >>> On Mon, Aug 30, 2010 at 3:50 AM, Tom Lane <t...@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 ?
A quick Google gives: -xalias_level[=l] http://docs.sun.com/app/docs/doc/819-5265/bjaso?a=view -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers