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 09C85D9A89 for ; Wed, 28 Sep 2005 16:21:01 -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 82422-01 for ; Wed, 28 Sep 2005 19:20:57 +0000 (GMT) Received: from www.conducivetech.com (conducivetech.com [64.65.134.45]) by svr1.postgresql.org (Postfix) with ESMTP id 5A8CED909E for ; Wed, 28 Sep 2005 16:20:57 -0300 (ADT) Received: from dentaku.sight-n-sound.com (dentaku.sight-n-sound.com [198.107.31.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by www.conducivetech.com (Postfix) with ESMTP id BC4A518380 for ; Wed, 28 Sep 2005 12:20:58 -0700 (PDT) From: Michael Crozier To: pgsql-ports@postgresql.org Subject: Re: TAS definitions on Solaris x86 with GCC Date: Wed, 28 Sep 2005 12:20:53 -0700 User-Agent: KMail/1.8.1 References: <200509271638.12467.crozierm@conducivetech.com> <1074.1127877284@sss.pgh.pa.us> In-Reply-To: <1074.1127877284@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509281220.53123.crozierm@conducivetech.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/21 X-Sequence-Number: 2215 > Hmmm ... you really shouldn't be using the out-of-line tas.s code for > gcc-based builds on any common architecture. Thanks, that answers my questions about which TAS code should be in the build. Both sets of code will be compiled into any solaris 32bit build, but the inline code should be the code in use. When compiling a 64bit build with GCC on solaris 10 x86, the out-of-line tas.s code will fail to build and tas.s must therefore be manually linked to dummy.s. > 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. The 7.4 template is not checking for $GCC before linking tas.s, probably assuming that any solaris host is using SunCC. 8.0.3 & 8.1beta1 check for !GCC before linking to solaris_i386.s, which is correct. Thanks for your help.