Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVRiD-00050B-Tm for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 22:01:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVRiD-00034L-1q for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 22:01:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVRiA-00031U-J1 for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 22:01:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVRi7-0005dK-QG for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 22:01:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t7SM1LKr002823; Fri, 28 Aug 2015 18:01:21 -0400 From: Tom Lane To: Noah Misch cc: pgsql-hackers@postgresql.org Subject: Re: [BUGS] Compile fails on AIX 6.1 In-reply-to: <19828.1440770326@sss.pgh.pa.us> References: <1823346352.314711.1405443099463.open-xchange@oxbaltgw55.schlund.de> <14934.1440686206@sss.pgh.pa.us> <20150828070203.GA2534837@tornado.leadboat.com> <19828.1440770326@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 28 Aug 2015 09:58:46 -0400" Date: Fri, 28 Aug 2015 18:01:21 -0400 Message-ID: <2822.1440799281@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org I wrote: > Noah Misch writes: >> On Thu, Aug 27, 2015 at 10:36:46AM -0400, Tom Lane wrote: >>> 2. Don't rely on local symbols in the PPC spinlock assembly code. >> A third option is to use __sync intrinsics, like we do on ARM. I like (2). > I've been waiting to hear confirmation from Steve that the proposed patch > works with IBM's assembler. (For all I know, it uses "*" rather than ".", > or some other randomness.) He's not responded yet though. Are you in > a position to test the patch? Steve got back to me with the news that AIX's assembler thinks that "." is an ordinary symbol, not the current location. Some googling says that that assembler likes "$" for current location. I did a quick check on my oldest OS X PPC box, and it seems to be happy with "$" as well, so maybe we can use that --- though I see nothing about "$" in the GNU Assembler manual, which makes me a bit worried about whether it works on all PPC systems. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers