pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alan Stange <stange@rentec.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 17:11:59 -0400
Message-ID: <4464FA1F.6060805@rentec.com> (raw)
In-Reply-To: <23215.1147466644@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>

Tom Lane wrote:
> Alan Stange <stange@rentec.com> writes:
>> This code isn't used by gcc, is it?  Or are you thinking to use the same 
>>   assembler segment in the inline function used by gcc?
> 
> The out-of-line .s files aren't used for gcc builds --- what's on the
> table here is whether to make the gcc inline assembler in s_lock.h
> match up with what's in the out-of-line files.
> 
>> Was there any reason given for the cas patch?
> 
> It appeared to me that the submitter just had a bee in his bonnet about
> cas being nicer ;-).  There might be something real to it, but AFAIR he
> didn't present any hard evidence.

Here's one workaround.

Check out the comment and implementation for cas32() in this .il 
template file for libc from OpenSolaris:

http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il



view thread (37+ messages)  latest in thread

Message-ID: <4464FA1F.6060805@rentec.com>
Permalink:  ../4464FA1F.6060805@rentec.com/
Also on:    postgresql.org/message-id/4464FA1F.6060805@rentec.com

 · 

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: stange@rentec.com, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us
  Subject: Re: solaris build problem with Sun compilers
  In-Reply-To: <4464FA1F.6060805@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>

* 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