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

Problem configuring PostgreSQL 8.1.4 on Mac OS X

From: Adam <adam(at)albedo(dot)art(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Problem configuring PostgreSQL 8.1.4 on Mac OS X
Date: 2006-06-06 13:43:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs

There is a problem with PostgreSQL 8.1.4 on Mac OS X (PowerPC).

The 'configure --enable-thread-safety' script fails when CFLAGS  
contain "-mcpu=7400", "-mcpu=970" or "-maltivec". With these flags,  
the GCC compiler enables AltiVec instructions for the PowerPC  
processor, and defines:

#define __ALTIVEC__ 1
#define __VEC__ 10206
#define __vector __attribute__((altivec(vector__)))
#define __pixel __attribute__((altivec(pixel__))) unsigned short
#define __bool __attribute__((altivec(bool__))) unsigned
#define vector vector
#define pixel pixel
#define _Bool _Bool
#define bool bool

src/tools/thread/thread_test.c, fired for '--enable-thread-safety',  
failes for not having the correct definition for 'bool'.

I would suggest using 'BOOL' for you boolean variables, instead of  

Please, fix. :)

Kind regards,


pgsql-bugs by date

Next:From: BorisDate: 2006-06-06 15:44:48
Subject: BUG #2472: Incorrect ILIKE, ~* for Cyrilic symbols.
Previous:From: Martin PittDate: 2006-06-05 17:30:52
Subject: stopping server does not remove external_pid_file

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