Re: plperl segfault in plperl_trusted_init() on kfreebsd - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plperl segfault in plperl_trusted_init() on kfreebsd
Date
Msg-id 244.1368675320@sss.pgh.pa.us
Whole thread Raw
In response to plperl segfault in plperl_trusted_init() on kfreebsd  (Christoph Berg <cb@df7cb.de>)
Responses Re: plperl segfault in plperl_trusted_init() on kfreebsd  (Christoph Berg <cb@df7cb.de>)
List pgsql-hackers
Christoph Berg <cb@df7cb.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 usemake PROFILE="-g"
for this sort of tweak to the compile flags --- that adds the flags
you specify, without removing any.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Next
From: Jon Nelson
Date:
Subject: Re: fallocate / posix_fallocate for new WAL file creation (etc...)