Running ona sifive hyifive unleashed riscv board with uname -a of:
Linux freedom-u540 5.2.9 #1 SMP Tue Oct 15 19:54:42 UTC 2019 riscv64
riscv64 riscv64 GNU/Linux
where each processor is:
processor : 0
hart : 1
isa : rv64imafdc
mmu : sv39
uarch : sifive,u54-mc
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)