Re: postgres has no spinlock support on riscv rv64imafdc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Henry <rrh(dot)henry(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: postgres has no spinlock support on riscv rv64imafdc
Date: 2019-10-18 07:00:23
Message-ID: 27501.1571382023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Robert Henry <rrh(dot)henry(at)gmail(dot)com> writes:
> Building Postgres from scratch on the riscv board, no fancy cross
> compilation, I get:

> 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)lists(dot)postgresql(dot)org(dot)

The last we heard about RISC-V was this thread:

https://www.postgresql.org/message-id/flat/20161119230312.GA8656%40redhat.com

If things seem to work well now with --disable-spinlocks, maybe you
could test the patch suggested in that thread. TBH, though, my preference
would be for some assembly code rather than relying on GCC builtins
as Richard's patch did.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-10-18 09:13:36 Re: pg_restore creates duplicate records when used with --role parameter
Previous Message Gavin M2301 2019-10-18 03:34:10 Fwd: Checking types for arguments