Re: AIX compilation problems (was Re: Proposal ...)

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "PostgreSQL Development" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: AIX compilation problems (was Re: Proposal ...)
Date: 2002-09-26 14:19:15
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA4961EA2@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2002-09-26 14:20:31 Re: Insert Performance
Previous Message Tom Lane 2002-09-26 14:11:09 Re: postmaster -d option (was Re: [GENERAL] Relation 0 does not exist)