Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: iso-8859-1 type name ‘slock_t’ - Mailing list pgsql-bugs

From Japin Li
Subject Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: iso-8859-1 type name ‘slock_t’
Date
Msg-id MEYP282MB166925990C50A45E095FC5E7B64B9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’  ("大坏蛋!" <769323213@qq.com>)
Responses Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: iso-8859-1 type name ‘slock_t’
List pgsql-bugs
On Sat, 17 Sep 2022 at 14:38, 大坏蛋! <769323213@qq.com> wrote:
> [root@localhost build]# uname -a
> Linux localhost.localdomain 4.19.90-23.19.v2101.a.ky10.loongarch64 #1 SMP Mon Sep 13 22:33:20 CST 2021 loongarch64
loongarch64loongarch64 GNU/Linux 
>
>

IIRC, PostgreSQL do not support loongarch platform, so if you want to
use PostgreSQL on loongarch, you can a) disable spinlock when executing
configure (not recommended for production) or b) implement a spinlock
for PostgreSQL on loongarch64 platform.

Maybe you could encounter other questions on loongarch, I'm not sure.

--
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



pgsql-bugs by date:

Previous
From: Marina Polyakova
Date:
Subject: Bug in pg_upgrade live check right after starting the old server on Windows
Next
From: Tom Lane
Date:
Subject: Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: iso-8859-1 type name ‘slock_t’