pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: 大坏蛋! <769323213@qq.com>
To: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Subject: error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’
Date: Sat, 17 Sep 2022 14:38:15 +0800
Message-ID: <tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com> (raw )
[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 loongarch64 loongarch64 GNU/Linux
-------------------------------
../../src/include/storage/s_lock.h:946:2: error: #error 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 .
#error 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.
^~~~~
../../src/include/storage/s_lock.h:1018:25: error: unknown type name ‘slock_t’
extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
^~~~~~~
../../src/include/storage/s_lock.h:1028:8: error: unknown type name ‘slock_t’
extern slock_t dummy_spinlock;
^~~~~~~
../../src/include/storage/s_lock.h:1033:28: error: unknown type name ‘slock_t’
extern int s_lock(volatile slock_t *lock, const char *file, int line, const char *func);
^~~~~~~
In file included from ../../src/include/utils/sharedtuplestore.h:18,
from ../../src/include/nodes/execnodes.h:26,
from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/storage/sharedfileset.h:29:2: error: unknown type name ‘slock_t’
slock_t mutex; /* mutex protecting the reference count */
^~~~~~~
In file included from ../../src/include/nodes/execnodes.h:32,
from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/storage/condition_variable.h:30:2: error: unknown type name ‘slock_t’
slock_t mutex; /* spinlock protecting the wakeup list */
^~~~~~~
In file included from ../../src/include/executor/execdesc.h:18,
from ../../src/include/executor/executor.h:17,
from ../../src/include/funcapi.h:22,
from adminpack.c:23:
../../src/include/nodes/execnodes.h:1560:2: error: unknown type name ‘slock_t’
slock_t mutex;
^~~~~~~
make[1]: *** [<内置>:adminpack.o] 错误 1
Message-ID: <tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com>
Permalink: ../tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com/
Also on: postgresql.org/message-id/tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: 769323213@qq.com
Subject: Re: error: #error PostgreSQL does not have native spinlock support on this platform. error: unknown type name ‘slock_t’
In-Reply-To: <tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com>
References: <tencent_2C318EE5AB619D16ECCAE06FFDC9C4ED650A@qq.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox