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
using the IBM compiler.
gcc has problems with shared libs that are not easily resolved.
The following regression tests fail because of different rounding Use the following configure flags in addition to your own:
behavior or error messages: ./configure --without-CXX
int2 .. failed -- same as int2-i386-netbsd.out and if you have readline there:
int4 .. failed -- same as int4-i386-netbsd.out --with-includes=/usr/local/include --with-libraries=/usr/local/lib
geometry .. failed -- Some Zero Values with minus sign (-0)
abstime .. failed
tinterval .. failed
horology .. failed
It has the following problems: libpq++ does not work because xlC does not have the string and bool classes.
compiling the few files, that fail, with g++ does work.
1. AIX has int8,int16,int32,int64 in /usr/include/inttypes.h Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the
--> configure fails to find snprintf support for int8 configure
(because it includes stdio.h) option: --template=aix_gcc
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. With the current compiler flags the redefines of int8 - int64 that prior
versions
2. libpq++ does not work because xlC does not have the string and bool classes. had a problem with are not a problem any more.
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