Re: AIX compilation problems (was Re: Proposal ...) - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: AIX compilation problems (was Re: Proposal ...)
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961EA2@m0114.s-mxs.net
Whole thread Raw
In response to AIX compilation problems (was Re: Proposal ...)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: AIX compilation problems (was Re: Proposal ...)
List pgsql-hackers
> > 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.
> > My guess is, that they are eliminated by the linker ? Do they need an extern
> > declaration ?

Further research prooved, that the AIX linker eliminates functions on a per
c file basis if none of them is referenced elsewhere (declared extern or not).
Thus it eliminates the whole conv.c file from the postgres executable since
those functions are only used by the conversion shared objects.

Anybody have an idea what I can do ?

Andreas


pgsql-hackers by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: Insert Performance
Next
From: Curt Sampson
Date:
Subject: Re: PGXLOG variable worthwhile?