Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 - Mailing list pgsql-ports

From Tom Lane
Subject Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5
Date
Msg-id 26231.1164674902@sss.pgh.pa.us
Whole thread Raw
In response to Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5  (Brian Wipf <brian@clickspace.com>)
Responses Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED  (Brian Wipf <brian@clickspace.com>)
List pgsql-ports
Brian Wipf <brian@clickspace.com> writes:
> Removing -mcpu=970 got rid of the #define bool bool, among other
> things, which allowed the configure to go through without modifying
> any code. The make still fails with what looks like identical errors.

> ../../../../src/include/storage/s_lock.h:806: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.

Ah.  For that you need this patch:
http://archives.postgresql.org/pgsql-committers/2006-04/msg00217.php
which is in HEAD (8.2) but not any older branch.

            regards, tom lane

pgsql-ports by date:

Previous
From: Brian Wipf
Date:
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5
Next
From: Brian Wipf
Date:
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED