Commit f6943a9f authored by Bruce Momjian's avatar Bruce Momjian

Aix patches from Zeugswetter Andrea

parent b39c6d00
From: ZEUGSWETTER Andreas IZ5 <Andreas.Zeugswetter@telecom.at> From: ZEUGSWETTER Andreas IZ5 <Andreas.Zeugswetter@telecom.at>
To: "'Thomas Lockhart'" <lockhart@alumni.caltech.edu> Mon Apr 17 14:01:23 EDT 2000
Cc: "'hackers@postgresql.org'" <hackers@postgresql.org>
Subject: Re: [HACKERS] Call for updates!
Date: Tue, 14 September 1999
> Hi. I'd like to update the ports list in the docs to include AIX 4.3.2 with native IBM compiler xlc 3.6.4 passes all regression tests.
> references to v6.5 for the various platforms for which PostgreSQL-6.5b Other versions of OS and compiler should also work. If you don't have
> has been tested. a powerpc there might be differences in the geometry regression test.
PostgreSQL 6.5.2 compiles and regresses ok on AIX 4.3.2 Use the following configure flags in addition to your own:
using the IBM compiler. ./configure --without-CXX
gcc has problems with shared libs that are not easily resolved. and if you have readline there:
--with-includes=/usr/local/include --with-libraries=/usr/local/lib
The following regression tests fail because of different rounding libpq++ does not work because xlC does not have the string and bool classes.
behavior or error messages: compiling the few files, that fail, with g++ does work.
int2 .. failed -- same as int2-i386-netbsd.out
int4 .. failed -- same as int4-i386-netbsd.out
geometry .. failed -- Some Zero Values with minus sign (-0)
abstime .. failed
tinterval .. failed
horology .. failed
It has the following problems: Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the
configure
option: --template=aix_gcc
1. AIX has int8,int16,int32,int64 in /usr/include/inttypes.h With the current compiler flags the redefines of int8 - int64 that prior
--> configure fails to find snprintf support for int8 versions
(because it includes stdio.h) had a problem with are not a problem any more.
I feel this is an IBM problem. I changed my /usr/include/inttypes.h
Either do that or comment out int8-int32 in src/include/c.h.
2. libpq++ does not work because xlC does not have the string and bool classes.
it does compile/work with gcc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment