Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’

From: Japin Li <japinli(at)hotmail(dot)com>
To: 大坏蛋! <769323213(at)qq(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’
Date: 2022-09-17 12:44:56
Message-ID: MEYP282MB166925990C50A45E095FC5E7B64B9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Sat, 17 Sep 2022 at 14:38, 大坏蛋! <769323213(at)qq(dot)com> wrote:
> [root(at)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 loongarch64 loongarch64 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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-09-17 14:51:27 Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’
Previous Message Marina Polyakova 2022-09-17 12:12:03 Bug in pg_upgrade live check right after starting the old server on Windows