AIX - pgport/contrib resolution

From: "Rocco Altier" <RoccoA(at)Routescape(dot)com>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: AIX - pgport/contrib resolution
Date: 2005-07-27 22:09:20
Message-ID: 6E0907A94904D94B99D7F387E08C4F5730EF4C@FALCON.INSIGHT
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The comment in regress/GNUmakefile about the pgport symbols not being
found got me thinking about why that might be the case.

I finally noticed that when we are building the postgres.imp file, we
are not pulling in the pgport symbols, since they are not being linked
into the local SUBSYS.o before running mkldexport.sh.

I noticed that windows has a similar dilemma when creating the .def
file.

The solution was to suck in libpgport.a before we extract all the
symbols out.

A patch to that affect is attached.

backend/Makefile - fix rule for AIX regarding pgport files
port/getopt_long - needed to have optreset wrapped in HAVE_INT_OPTRESET
regress/GNUmakefile - hopefully I backed out the change to bring in
pgsleep well enough

With these changes in place, I was able to complete a full build and
test suite (including contrib).

Thanks,
-rocco

Attachment Content-Type Size
aix-pgport-contrib.patch application/octet-stream 2.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-07-28 00:27:23 Re: PLPGSQL OID Bug
Previous Message Tom Lane 2005-07-27 22:05:00 Re: [HACKERS] Autovacuum loose ends