From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard W.M. Jones <rjones@redhat.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: PostgreSQL cannot be compiled on RISC-V
Date: Sun, 20 Nov 2016 14:45:18 -0500
Message-ID: <11046.1479671118@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"Richard W.M. Jones" <rjones@redhat.com> 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=1 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 code 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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, rjones@redhat.com
Subject: Re: PostgreSQL cannot be compiled on RISC-V
In-Reply-To: <11046.1479671118@sss.pgh.pa.us>
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> <11046.1479671118@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox