Re: PostgreSQL cannot be compiled on RISC-V - Mailing list pgsql-bugs

From Tom Lane
Subject Re: PostgreSQL cannot be compiled on RISC-V
Date
Msg-id 16690.1479611287@sss.pgh.pa.us
Whole thread Raw
In response to PostgreSQL cannot be compiled on RISC-V  ("Richard W.M. Jones" <rjones@redhat.com>)
Responses Re: PostgreSQL cannot be compiled on RISC-V
Re: PostgreSQL cannot be compiled on RISC-V
Re: PostgreSQL cannot be compiled on RISC-V
List pgsql-bugs
"Richard W.M. Jones" <rjones@redhat.com> writes:
> ../../../src/include/storage/s_lock.h:890:2: error: #error PostgreSQL do=
es not have native spinlock support on this platform. To continue the comp=
ilation, rerun configure using --disable-spinlocks. However, performance w=
ill 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

pgsql-bugs by date:

Previous
From: "Richard W.M. Jones"
Date:
Subject: PostgreSQL cannot be compiled on RISC-V
Next
From: John R Pierce
Date:
Subject: Re: PostgreSQL cannot be compiled on RISC-V