Re: improving PL/Python builds on OS X

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: improving PL/Python builds on OS X
Date: 2013-05-10 06:46:39
Message-ID: CA+OCxox_nzoiznj499QTB09viCZ0PLd12kiY6-ytGeh3zGwWQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 10, 2013 at 2:47 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> 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.

Huh, interesting. I used to have a contact at ActiveState - I'll see
if I can get some more details.

> Again, reliably detecting that might be difficult.

Yeah, that's understandable. As long as I can force it though (and
your suggestion on that front seems to work fine), I'm happy.

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message amul sul 2013-05-10 08:14:32 psql connection reset failed
Previous Message Simon Riggs 2013-05-10 06:44:19 Re: corrupt pages detected by enabling checksums