Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fiLv4-0000K8-Q0 for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Jul 2018 15:41:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fiLv3-00079Z-3J for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Jul 2018 15:41:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fiLv1-00079F-Vb; Wed, 25 Jul 2018 15:41:40 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fiLuw-0006gv-Nc; Wed, 25 Jul 2018 15:41:39 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 42EAD242; Wed, 25 Jul 2018 11:41:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 25 Jul 2018 11:41:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=j83+0wvRg+LWjtNRwq0t1RlWl83h0utea/ZgcA1GXnM=; b=KmLez4qG u4eY793lhvOwE80rVHy3YsBBjfUZZR+4jnc3lmT/fwQRTymXG/XJczxM/XDSabD1 +hJom/jCaNUgTy74R8Q1GlOpwculsn/HXaksDTA1zbeN9333ToQqyx9ejbxO1X2H UCra1Ra1AH0N3IkIQMRTPYSQU+kJSlEbFFyEnLu7YpWHYh7u1TYtVct+oRJgoeAk QuD7C/+WcIrtuoGgsQTvXKgvfxyc6RbQGRnYwpVYKGvx1pk7U5nFCII226P8x8p3 oFmI9THnh3/4/mPggDVEgC6GFdsidyzJfg4367FDHZtkADwyFJJH5GnCQkro0n/Y 1AVAX3YeIjuPJw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=j83+0wvRg+LWjtNRwq0t1RlWl83h0 utea/ZgcA1GXnM=; b=h68k/7Btq5/YrSb980ICbOkHjkhD9N8DgbDqUvkk6LEHK 2r8QkFtK9ja8swD/KPuTtGHn5WB2eZGqWblbOCR2VB/zJ5RRSDoiDfT4m/nMjfho ig4VWpMlbzEl7xU3KTGQI/eRZ1crlvW6rjLo16HMFZmzzLMfCKjwei0DyIviEoj5 EYPcUH+R5Hc22njxi8GQiguEnLKG/NLe/Fab5TYBVWQXdmvH/fkkYqEFZVcEHFV9 PcutBP4cQ4D+GhyGuxaO7kAD42I2HKQVohIjjeU0JFKbtHVaOoZqz4LHYVMMay7r a43KnN0Qc0frJoxM+wXE9Ch+6Fv/1grk9bT4VOYNQ== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id E3484E48A7; Wed, 25 Jul 2018 11:41:30 -0400 (EDT) Date: Wed, 25 Jul 2018 08:41:29 -0700 From: Andres Freund To: Dmitry Dolgov <9erthalion6@gmail.com> Cc: Michael Paquier , PostgreSQL-development , PostgreSQL mailing lists Subject: Re: LLVM jit and matview Message-ID: <20180725154129.lvaabpypucdajliz@alap3.anarazel.de> References: <20180710001958.GD1661@paquier.xyz> <20180725024956.6gxqscgk5fmuqbb7@alap3.anarazel.de> <20180725054857.GB6660@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-07-25 14:59:20 +0200, Dmitry Dolgov wrote: > > On Wed, 25 Jul 2018 at 07:49, Michael Paquier 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