Re: cannot to compile PL/V8 on Fedora 20

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cannot to compile PL/V8 on Fedora 20
Date: 2014-05-12 12:39:45
Message-ID: CAFj8pRDkYAv4YAkXcnemr76njDRKs4+NUj2ZYMgi-_RZ3x-fGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2014-05-12 13:45 GMT+02:00 Michael Paquier <michael(dot)paquier(at)gmail(dot)com>:

> On Mon, May 12, 2014 at 8:10 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> > g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server
> > -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -I/usr/include/libxml2
> > -fPIC -c -o plv8.o plv8.cc
> > plv8.cc:50:56: error: declaration of 'Datum
> > plv8_call_handler(FunctionCallInfo) throw ()' has a different exception
> > specifier
> > Datum plv8_call_handler(PG_FUNCTION_ARGS) throw();
> > Some ideas how to fix it?
> It seems that you are compiling on the outdated branch staticlink. On
> either master or r1.4 it will work properly on Fedora 20, at least it
> works for me.
>

How I can check it?

I had same bug with scientific linux and I expected so this problem will be
solved on new Fedora. On second computer on newer system I had same problem.

Some problem can be in my g++ environment - it is default Fedora.

Pavel

> --
> Michael
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-12 13:00:16 Re: wrapping in extended mode doesn't work well with default pager
Previous Message Michael Paquier 2014-05-12 11:45:19 Re: cannot to compile PL/V8 on Fedora 20