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: 7819.1036084306@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-10-31 17:17:16 Re: test-and-set for s390x and powerpc64
Previous Message Reinhard Max 2002-10-31 16:08:29 test-and-set for s390x and powerpc64