X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 353369FA294 for ; Sat, 13 May 2006 00:12:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 65048-09 for ; Sat, 13 May 2006 00:12:45 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CD8839FA15C for ; Sat, 13 May 2006 00:12:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k4D3CfRF025882; Fri, 12 May 2006 23:12:41 -0400 (EDT) To: Alan Stange cc: Bruce Momjian , pgsql-ports@postgresql.org Subject: Re: solaris build problem with Sun compilers In-reply-to: <4465333C.1020700@rentec.com> References: <200605112316.k4BNGeB17324@candle.pha.pa.us> <4463D639.3030802@rentec.com> <4464B653.1040301@rentec.com> <5470.1147451501@sss.pgh.pa.us> <4464C950.40906@rentec.com> <12675.1147457431@sss.pgh.pa.us> <4464DAB0.70900@rentec.com> <15883.1147460750@sss.pgh.pa.us> <4464EC2D.6080406@rentec.com> <23055.1147465626@sss.pgh.pa.us> <4464F242.5060705@rentec.com> <23215.1147466644@sss.pgh.pa.us> <4464FA1F.6060805@rentec.com> <23585.1147469584@sss.pgh.pa.us> <4465333C.1020700@rentec.com> Comments: In-reply-to Alan Stange message dated "Fri, 12 May 2006 21:15:40 -0400" Date: Fri, 12 May 2006 23:12:40 -0400 Message-ID: <25881.1147489960@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/42 X-Sequence-Number: 2423 Alan Stange writes: > I believe the trick here is that Solaris 10 will only run on v9 hardware > (or the sun4u systems), which all have the instruction. But the v8 ABI > "model" doesn't have it. So, in some sense the ABI doesn't "allow" > this instruction, but the hardware does, so they can just slam it in > knowing that it'll work. Well, that might be OK for Sun's compiler since they know what a given version of Solaris will run on. But I don't think we can adopt the same attitude for our gcc code path; that has to work on Sparc-based Linuxen and BSDen. I don't think it's appropriate to kiss off support for v8 chips when we haven't seen any proof at all of a performance boost in return. Maybe the right answer is to leave the code as-is, ie, deliberately not the same for Sun and gcc compilers. regards, tom lane