Re: AIX - pgport/contrib resolution - Mailing list pgsql-patches

From Tom Lane
Subject Re: AIX - pgport/contrib resolution
Date
Msg-id 20137.1122525674@sss.pgh.pa.us
Whole thread Raw
In response to AIX - pgport/contrib resolution  ("Rocco Altier" <RoccoA@Routescape.com>)
Responses Re: AIX - pgport/contrib resolution
List pgsql-patches
"Rocco Altier" <RoccoA@Routescape.com> writes:
> 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.

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

> A patch to that affect is attached.

I've applied this in a modified form: it seemed better to put
libpgport.a into $(OBJS), which not only gets it into the symbols
file but makes it a dependency that will force rebuilding of the
backend executable.  Give me a holler if this doesn't work :-(

> 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).

Pushed these in too ... hope to see a green board on the AIX buildfarm
machines soon.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: PLPGSQL OID Bug
Next
From: Neil Conway
Date:
Subject: Re: PLPGSQL OID Bug