Re: postgres has no spinlock support on riscv rv64imafdc
| От | Tom Lane |
|---|---|
| Тема | Re: postgres has no spinlock support on riscv rv64imafdc |
| Дата | |
| Msg-id | 27501.1571382023@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | postgres has no spinlock support on riscv rv64imafdc (Robert Henry <rrh.henry@gmail.com>) |
| Ответы |
Re: postgres has no spinlock support on riscv rv64imafdc
|
| Список | 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 по дате отправления: