From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: improving PL/Python builds on OS X |
Date: | 2013-05-10 01:47:46 |
Message-ID: | 1368150466.13456.2.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 2013-05-09 at 10:11 -0400, Peter Eisentraut wrote:
> On 5/9/13 3:25 AM, Dave Page wrote:
> > BTW - it's always worked fine for us on 64 bit machines with the past
> > few major releases of both PG and Python - are you saying that's pure
> > chance?
>
> It works because ActiveState Python has PIC inside a static library.
> But we have no straightforward way of knowing that (AFAIK), other than
> observing whether the build result crashes or not.
After further digging, it seems to me that their build is not a standard
build. They must be patching in compiler options through the backdoor
somehow. Their config/Makefile has
BASECFLAGS= -fno-strict-aliasing -fPIC
meaning that they compile *everything* with those options. But that's
not something that the standard Python configure script can produce.
Again, reliably detecting that might be difficult.
--
Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-05-10 02:14:34 | Re: Re: [GENERAL] pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4 |
Previous Message | Robins Tharakan | 2013-05-10 01:27:35 | Re: Add regression tests for COLLATE |