Skip site navigation (1) Skip section navigation (2)

Re: Compiler options for plperl

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reinhard Max <max(at)suse(dot)de>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Compiler options for plperl
Date: 2002-10-31 17:11:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Reinhard Max <max(at)suse(dot)de> writes:
> applications that use Perl as embedded interpreter should be compiled
> with the same compiler flags that were used to compile the perl shared
> library itself. The attached patch fixes this.

Unfortunately, this goes down the same dead-end path we went down three
or four releases ago.  If we try to do the above then we must also use
the same compiler that was used for Perl.  For example, your patch will
instantly blow up on my system where Perl is built with HPUX's cc (per
its default configuration) and Postgres is built with gcc (also its
default choice) --- the compiler switches aren't even slightly alike.

Please explain the problem you're trying to solve, rather than offering
an unworkable patch with no explanation.

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2002-10-31 17:17:16
Subject: Re: test-and-set for s390x and powerpc64
Previous:From: Reinhard MaxDate: 2002-10-31 16:08:29
Subject: test-and-set for s390x and powerpc64

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group