Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Wipf <brian(at)clickspace(dot)com>
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
Date: 2006-11-27 20:48:55
Message-ID: 24175.1164660535@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Brian Wipf <brian(at)clickspace(dot)com> writes:
> I'm having difficulty compiling PostgreSQL 8.1.5 with 64-bit  
> instructions on a G5 running Mac OS X Server 10.4.8.

Hmm.  This looks a *whole* lot like the problems in this thread:
http://archives.postgresql.org/pgsql-hackers/2005-11/msg00066.php
specifically
http://archives.postgresql.org/pgsql-hackers/2005-11/msg00104.php

So my suggestion is to get rid of that -mcpu=970, and maybe some more of
the -m flags too, until you don't get any definition of "bool" in the
output from
	$ echo >foo.c
	$ gcc -E -dM <<all your other CFLAGS>> foo.c

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Brian WipfDate: 2006-11-28 00:38:58
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5
Previous:From: Brian WipfDate: 2006-11-27 19:53:31
Subject: Compiling PostgreSQL 8.1.5 with 64-bit on a G5

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group