Re: PostgreSQL cannot be compiled on RISC-V

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Richard W(dot)M(dot) Jones" <rjones(at)redhat(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: PostgreSQL cannot be compiled on RISC-V
Date: 2016-11-20 03:08:07
Message-ID: 16690.1479611287@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Richard W.M. Jones" <rjones(at)redhat(dot)com> writes:
> ../../../src/include/storage/s_lock.h:890:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs(at)postgresql(dot)org(dot)

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2016-11-20 03:24:48 Re: PostgreSQL cannot be compiled on RISC-V
Previous Message Richard W.M. Jones 2016-11-19 23:03:12 PostgreSQL cannot be compiled on RISC-V