Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8Y40-0007F1-6Y for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Nov 2016 19:46:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c8Y3z-0008R3-GJ for pgsql-bugs@arkaria.postgresql.org; Sun, 20 Nov 2016 19:46:07 +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_2) (envelope-from ) id 1c8Y3K-0007hv-2J for pgsql-bugs@postgresql.org; Sun, 20 Nov 2016 19:45: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_2) (envelope-from ) id 1c8Y3D-0001hy-L0 for pgsql-bugs@postgresql.org; Sun, 20 Nov 2016 19:45:24 +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 uAKJjI0q011047; Sun, 20 Nov 2016 14:45:18 -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: <20161120184942.GP11243@redhat.com> References: <20161119230312.GA8656@redhat.com> <16690.1479611287@sss.pgh.pa.us> <20161120150905.GO11243@redhat.com> <20161120173322.GA10475@redhat.com> <21733.1479664971@sss.pgh.pa.us> <20161120184942.GP11243@redhat.com> Comments: In-reply-to "Richard W.M. Jones" message dated "Sun, 20 Nov 2016 18:49:42 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11045.1479671118.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 20 Nov 2016 14:45:18 -0500 Message-ID: <11046.1479671118@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: > On Sun, Nov 20, 2016 at 01:02:51PM -0500, Tom Lane wrote: >> Hmm, makes me wonder if the spinlock primitives actually work ... > Yes, my thought too. > With MAX_CONNECTIONS=3D1 only 5 tests fail, and reliably too: > opr_sanity ... FAILED > test errors ... FAILED > psql_crosstab ... FAILED > select_views ... FAILED > largeobject ... FAILED (test process exited with exit c= ode 2) That's a smoking gun then. Your GCC builtins don't work. >> Assuming that you've got working core dump support and gdb, >> getting stack traces from some of the crashes would be useful info. > Agreed. Unfortunately there's no gdb yet, and as above no core dumps > in any case. Hm. You could look at the regression.diffs file to get more info about what's happening. But TBH, if you don't have GDB working yet, it doesn't seem like making Postgres work is a higher priority problem than that. Once you've got GDB working, I'd be willing to help investigate, if you can give me ssh access to a RISC-V box with a devel environment installed. Before that, it seems like a pretty back-burner problem. 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