Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED

From: Brian Wipf <brian(at)clickspace(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-ports(at)postgresql(dot)org, Brendan Duddridge <brendan(at)clickspace(dot)com>, Guido Neitzer <lists(at)event-s(dot)net>
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED
Date: 2006-11-28 01:16:20
Message-ID: 418CDBAD-CF9C-4A87-BB68-8DEF5F2912E0@clickspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Thanks for your help, Tom!

I applied that patch to s_lock.h in our PostgreSQL 8.1.5 source, and
the 64-bit compile went through without a hitch.

On 27-Nov-06, at 5:48 PM, Tom Lane wrote:

> Brian Wipf <brian(at)clickspace(dot)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(at)postgresql(dot)org(dot)
>
> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2006-11-28 01:17:58 Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED
Previous Message Tom Lane 2006-11-28 00:48:22 Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5