Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4E24710382FB for ; Mon, 12 Dec 2011 21:10:14 -0400 (AST) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RaGsn-00086L-2U for pgsql-bugs@postgresql.org; Tue, 13 Dec 2011 01:10:14 +0000 Received: by yenm11 with SMTP id m11so4357577yen.19 for ; Mon, 12 Dec 2011 17:10:00 -0800 (PST) Received: by 10.236.190.130 with SMTP id e2mr526466yhn.107.1323738600039; Mon, 12 Dec 2011 17:10:00 -0800 (PST) Received: from [10.0.0.53] (202-89-185-120.static.dsl.amnet.net.au. [202.89.185.120]) by mx.google.com with ESMTPS id 32sm54886342ant.12.2011.12.12.17.09.57 (version=SSLv3 cipher=OTHER); Mon, 12 Dec 2011 17:09:59 -0800 (PST) Message-ID: <4EE6A5E3.6070400@ringerc.id.au> Date: Tue, 13 Dec 2011 09:09:55 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Tom Lane CC: vbberdin@yahoo.com, pgsql-bugs@postgresql.org Subject: Re: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used References: <4EE69BA0.2020703@ringerc.id.au> <15202.1323736986@sss.pgh.pa.us> In-Reply-To: <15202.1323736986@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/87 X-Sequence-Number: 31898 On 13/12/11 08:43, Tom Lane wrote: > Craig Ringer writes: >> because AFAIK there's no ARM asm code or ARM gcc intrinsics hidden away >> in Pg, and that'd be the only other way to get those kinds of errors. > No, you're mistaken about that: we do have inline assembly code in > s_lock.h, and this message does look to be complaining about that code, > because "swpb %0, %0, [%2]" is exactly what the TAS() macro generates > for ARM. Ah - my mistake, and thanks for the correction. I really should've seen that. -- Craig Ringer