pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alan Stange <stange@rentec.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-ports@postgresql.org
Subject: Re: solaris build problem with Sun compilers
Date: Fri, 12 May 2006 23:12:40 -0400
Message-ID: <25881.1147489960@sss.pgh.pa.us> (raw)
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>

Alan Stange <stange@rentec.com> 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



view thread (37+ messages)  latest in thread

Message-ID: <25881.1147489960@sss.pgh.pa.us>
Permalink:  ../25881.1147489960@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25881.1147489960@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stange@rentec.com, pgman@candle.pha.pa.us
  Subject: Re: solaris build problem with Sun compilers
  In-Reply-To: <25881.1147489960@sss.pgh.pa.us>
  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> <25881.1147489960@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox