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 3B63A9FA1B0 for ; Fri, 12 May 2006 17:44:14 -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 39529-08 for ; Fri, 12 May 2006 17:44:07 -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 D32E29F946D for ; Fri, 12 May 2006 17:44:07 -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 k4CKi492023216; Fri, 12 May 2006 16:44:04 -0400 (EDT) To: stange@rentec.com cc: Bruce Momjian , pgsql-ports@postgresql.org Subject: Re: solaris build problem with Sun compilers In-reply-to: <4464F242.5060705@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> Comments: In-reply-to Alan Stange message dated "Fri, 12 May 2006 16:38:26 -0400" Date: Fri, 12 May 2006 16:44:04 -0400 Message-ID: <23215.1147466644@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/37 X-Sequence-Number: 2418 Alan Stange 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. > I might get around to doing the work for the Solaris compiler build to > support the inline keyword as well. I hacked on it a bit today but had > to get back to real work... If you can find some time it'd be great. It's risky to fool with this code without access to hardware to test it on, so I'm not very inclined to change it myself. regards, tom lane