-fPIC

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: -fPIC
Date: 2005-09-11 15:49:40
Message-ID: 200509111749.40723.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

So far, we have tended to use -fpic to compile position-independent code
until we have received some sort of overflow that forced the use of
-fPIC. Since 8.0, the makefiles to build shared libraries are also
available to external modules through the pgxs system, so we cannot
exactly check anymore what the fpic vs. fPIC requirement of each
conceivable module is. I have just received confirmation that PL/Java
needs -fPIC to compile on Alpha and S/390 on Linux, so we need to make
at least that change, but maybe it's more prudent to change to -fPIC
across the board now. Comments?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Responses

  • Re: -fPIC at 2005-09-11 16:33:00 from Tom Lane
  • Re: -fPIC at 2005-09-11 18:49:00 from Kurt Roeckx

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-09-11 16:15:01 Re: initdb profiles
Previous Message Robert Treat 2005-09-11 15:32:03 Re: FAQ/HTML standard?