Re: plperl segfault in plperl_trusted_init() on kfreebsd

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christoph Berg <cb(at)df7cb(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: plperl segfault in plperl_trusted_init() on kfreebsd
Date: 2013-05-16 03:35:20
Message-ID: 244.1368675320@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christoph Berg <cb(at)df7cb(dot)de> writes:
> Here's what I did:

> ./configure
> cd src && make
> cd pl/plperl && make clean && make CFLAGS="-g"
> make check

You sure that wholesale override of CFLAGS is a good idea?
This report doesn't show what flags the rest of your system was built
with, but seems like there could be a compatibility issue. Or maybe
you prevented plperl from being built with -fpic, or something like
that.

I tend to use
make PROFILE="-g"
for this sort of tweak to the compile flags --- that adds the flags
you specify, without removing any.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jon Nelson 2013-05-16 03:36:36 Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Previous Message Alvaro Herrera 2013-05-16 03:17:05 Re: fallocate / posix_fallocate for new WAL file creation (etc...)