Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8IUz-0003FE-JP for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Nov 2016 03:08:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c8IUy-00036K-Gy for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Nov 2016 03:08:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c8IUJ-0002N8-LW for pgsql-bugs@postgresql.org; Sun, 20 Nov 2016 03:08:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c8IUC-0001hX-Un for pgsql-bugs@postgresql.org; Sun, 20 Nov 2016 03:08:15 +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 uAK3874m016691; Sat, 19 Nov 2016 22:08:07 -0500 From: Tom Lane To: "Richard W.M. Jones" cc: pgsql-bugs@postgresql.org Subject: Re: PostgreSQL cannot be compiled on RISC-V In-reply-to: <20161119230312.GA8656@redhat.com> References: <20161119230312.GA8656@redhat.com> Comments: In-reply-to "Richard W.M. Jones" message dated "Sat, 19 Nov 2016 23:03:12 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16689.1479611287.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 19 Nov 2016 22:08:07 -0500 Message-ID: <16690.1479611287@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "Richard W.M. Jones" writes: > ../../../src/include/storage/s_lock.h:890:2: error: #error PostgreSQL doe= s not have native spinlock support on this platform. To continue the compil= ation, rerun configure using --disable-spinlocks. However, performance will= be poor. Please report this to pgsql-bugs@postgresql.org. Hi Richard, What's a RISC-V, and can you provide some gcc assembler implementing spinlocks for it? See commentary and code for other platforms in src/include/storage/s_lock.h. regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs