Обсуждение: Bugreport

Поиск
Список
Период
Сортировка

Bugreport

От
Marco Behnke
Дата:
I am compiling postgres on a intel mac machine

../../../../src/include/storage/s_lock.h:543: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 pgsql-bugs@postgresql.org.
In file included from ../../../../src/include/storage/spin.h:50,
                 from xlog.c:35:

--
Portrix.net
z. Hd. Marco Behnke
Stresemannstr. 375
22761 Hamburg

Re: Bugreport

От
Stefan Kaltenbrunner
Дата:
Marco Behnke wrote:
> I am compiling postgres on a intel mac machine
>
> ../../../../src/include/storage/s_lock.h:543: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 pgsql-bugs@postgresql.org.
> In file included from ../../../../src/include/storage/spin.h:50,
>                  from xlog.c:35:

what versions of MacOSX and postgresql are that exactly ?



Stefan

Re: Bugreport

От
Tom Lane
Дата:
Marco Behnke <m.behnke@portrix.net> writes:
> I am compiling postgres on a intel mac machine
> ../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL
> does not have native spinlock support on this platform.

Use something newer than PG 7.4, or if you must, hack up
src/include/port/darwin.h to know about darwin-on-intel.

            regards, tom lane