From: Andres Freund <andres@anarazel.de>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: LLVM jit and matview
Date: Wed, 25 Jul 2018 08:41:29 -0700
Message-ID: <20180725154129.lvaabpypucdajliz@alap3.anarazel.de> (raw)
In-Reply-To: <CA+q6zcVFD9601Bfo43dPtLOtWHTYt7A5NqNcsRUMzZX64dBO3A@mail.gmail.com>
References: <CA+q6zcWO7CeAJtHBxgcHn_hj+PenM=tvG0RJ93X1uEJ86+76Ug@mail.gmail.com>
<20180710001958.GD1661@paquier.xyz>
<20180725024956.6gxqscgk5fmuqbb7@alap3.anarazel.de>
<20180725054857.GB6660@paquier.xyz>
<CA+q6zcVFD9601Bfo43dPtLOtWHTYt7A5NqNcsRUMzZX64dBO3A@mail.gmail.com>
On 2018-07-25 14:59:20 +0200, Dmitry Dolgov wrote:
> > On Wed, 25 Jul 2018 at 07:49, Michael Paquier <michael@paquier.xyz> wrote:
> >
> > On Tue, Jul 24, 2018 at 07:49:56PM -0700, Andres Freund wrote:
> > > FWIW, this doesn't crash for me, using a trunk checkout for LLVM. I'll
> > > try older ones, as soon as they finish rebuilding. But perhaps you could
> > > re-verify that this still is an issue on recent PG checkouts? And which
> > > version of LLVM are you guys using?
> >
> > One of your recent fixes has visibly taken take of the issue (I am too
> > lazy to check which one). I am using llvm 6.0 with Debian SID as far as
> > I know, configure links to stuff in /usr/lib/llvm-6.0/.
>
> Looks like I still can reproduce it on the current head 167075be3ab. I was using
> LLVM 5.0 package, but will try reproduce on the LLVM master branch as soon
> as compilation will be finished
Oh, interesting. It only crashes when compiling LLVM without LLVM's
asserts enabled, even when using exactly the same LLVM checkout for both
builds. No idea what that's about, yet.
> (apparently, I need to rebuild it with LLVM_USE_PERF, otherwise
> Postgres complains about undefined symbol:
> LLVMCreatePerfJITEventListener).
Sorry, that was an intermittent state, fixed now (was waiting for a
review to come in). OTOH, having perf support is good anyway ;)
Greetings,
Andres Freund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, 9erthalion6@gmail.com, michael@paquier.xyz, pgsql-hackers@postgresql.org
Subject: Re: LLVM jit and matview
In-Reply-To: <20180725154129.lvaabpypucdajliz@alap3.anarazel.de>
References: <CA+q6zcWO7CeAJtHBxgcHn_hj+PenM=tvG0RJ93X1uEJ86+76Ug@mail.gmail.com> <20180710001958.GD1661@paquier.xyz> <20180725024956.6gxqscgk5fmuqbb7@alap3.anarazel.de> <20180725054857.GB6660@paquier.xyz> <CA+q6zcVFD9601Bfo43dPtLOtWHTYt7A5NqNcsRUMzZX64dBO3A@mail.gmail.com> <20180725154129.lvaabpypucdajliz@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox