1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

> > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not

> > > > found in the postmaster and not included from elsewhere)
> >
> > shared libs on AIX need to be able to resolve all symbols at linkage time.
> > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
> > executable.
>
> They are defined in backend/utils/mb/conv.c and declared in
> include/mb/pg_wchar.h.  They're also linked into the
> postmaster.  I don't see anything unusual.

Attached is a patch to fix the mb linking problems on AIX. As a nice side effect

it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
(all shlibs that are not postmaster loadable modules).

Please apply to current (only affects AIX).

The _LARGE_FILES problem is unfortunately still open, unless Peter
has fixed it per his recent idea.

Zeugswetter Andreas SB SD
This commit is contained in:
Bruce Momjian
2002-10-09 16:21:54 +00:00
parent ba8e20a6dd
commit 33a6b67b51
5 changed files with 34 additions and 25 deletions

View File

@ -1,5 +1,5 @@
From: Zeugswetter Andreas <ZeugswetterA@spardat.at>
Fri Feb 1 17:24:51 NFT 2002
Fri Sep 27 12:33:36 MSZ 2002
On AIX 4.3.2 PostgreSQL compiled with the native IBM compiler xlc
(vac.C 5.0.1) passes all regression tests.
@ -22,6 +22,9 @@ which you can safely ignore.
Compiling PostgreSQL with gcc (2.95.3) on AIX also works.
Use the configure flags: --with-CC=gcc
You need libm.a that is in the fileset bos.adt.libm (try following command)
$ lslpp -l bos.adt.libm
Since the mktime() function does not work on AIX for dates before
1970, all localtime formatted datetimes will not use summer time for
dates before 1970.