Re: postgres has no spinlock support on riscv rv64imafdc - Mailing list pgsql-bugs

From Tom Lane
Subject Re: postgres has no spinlock support on riscv rv64imafdc
Date
Msg-id 27501.1571382023@sss.pgh.pa.us
Whole thread Raw
In response to postgres has no spinlock support on riscv rv64imafdc  (Robert Henry <rrh.henry@gmail.com>)
Responses Re: postgres has no spinlock support on riscv rv64imafdc
List pgsql-bugs
Robert Henry <rrh.henry@gmail.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@lists.postgresql.org.

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



pgsql-bugs by date:

Previous
From: Gavin M2301
Date:
Subject: Fwd: Checking types for arguments
Next
From: Tom Lane
Date:
Subject: Re: pg_restore creates duplicate records when used with --role parameter