X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 24A74D99EE for ; Wed, 28 Sep 2005 00:14:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43619-01 for ; Wed, 28 Sep 2005 03:14:52 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9F943D99DB for ; Wed, 28 Sep 2005 00:14:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8S3EiF2001075; Tue, 27 Sep 2005 23:14:44 -0400 (EDT) To: Michael Crozier Cc: pgsql-ports@postgresql.org Subject: Re: TAS definitions on Solaris x86 with GCC In-reply-to: <200509271638.12467.crozierm@conducivetech.com> References: <200509271638.12467.crozierm@conducivetech.com> Comments: In-reply-to Michael Crozier message dated "Tue, 27 Sep 2005 16:38:12 -0700" Date: Tue, 27 Sep 2005 23:14:44 -0400 Message-ID: <1074.1127877284@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/19 X-Sequence-Number: 2213 Michael Crozier writes: > I'm again looking at tas/spinlock build problems while investigating unusually > high CPU usage during load testing. My issue was first mentioned here: > http://archives.postgresql.org/pgsql-ports/2005-09/msg00001.php Hmmm ... you really shouldn't be using the out-of-line tas.s code for gcc-based builds on any common architecture. I think the problem may be that the case statement in src/template/solaris is testing for "i?86" which probably doesn't match your x86_64 host. What value does $host have for you exactly? > Version details: > Postgresql 7.4.8 7.4 is not exactly a spring chicken. I suggest that you experiment with CVS tip (8.1beta) and document what still needs to be fixed. After we figure that out, we can discuss whether the changes are reasonable to back-patch to the 7.4 branch --- but starting a portability investigation with an old branch is a waste of everybody's time. regards, tom lane