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 1g1RnT-0001tI-Hv for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Sep 2018 07:48:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1RnO-0003CY-If for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Sep 2018 07:48:42 +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 1g1RnO-0003CR-Bg for pgsql-hackers@lists.postgresql.org; Sun, 16 Sep 2018 07:48:42 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1RnH-0002Gf-LV for pgsql-hackers@postgresql.org; Sun, 16 Sep 2018 07:48:41 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:e5c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 42ChFt3Mq5z3Dyn; Sun, 16 Sep 2018 09:48:34 +0200 (CEST) Date: Sun, 16 Sep 2018 09:48:34 +0200 From: Christoph Berg To: Andres Freund , PostgreSQL Hackers Subject: Re: [patch] Support LLVM 7 Message-ID: <20180916074833.GB4707@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Andres Freund , PostgreSQL Hackers References: <20180912124517.GD24584@msg.df7cb.de> <20180912210338.h3vsss5lkuu26ua2@alap3.anarazel.de> <20180912210734.GB5666@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180912210734.GB5666@msg.df7cb.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: To Andres Freund 2018-09-12 <20180912210734.GB5666@msg.df7cb.de> > I plan to switch postgresql-11.deb to LLVM 7 over the next days > because of the support for non-x86 architectures I did an upload of postgresql-11 beta3 with llvm 7 enabled on the architectures where it is available (or supposed to become available), that is, on !alpha !hppa !hurd-i386 !ia64 !kfreebsd-amd64 !kfreebsd-i386 !m68k !sh4. There are two failures: https://buildd.debian.org/status/logs.php?pkg=postgresql-11&ver=11~beta3-2 sparc64 fails with a lot of these in the log: FATAL: fatal llvm error: Invalid data was encountered while parsing the file powerpc (the old 32-bit variant) has a lot of "server closed the connection unexpectedly" in the regression logs, and one SIGILL: 2018-09-15 10:49:25.052 UTC [26458] LOG: server process (PID 26527) was terminated by signal 4: Illegal instruction 2018-09-15 10:49:25.052 UTC [26458] DETAIL: Failed process was running: SELECT '' AS tf_12, BOOLTBL1.*, BOOLTBL2.* FROM BOOLTBL1, BOOLTBL2 WHERE BOOLTBL2.f1 <> BOOLTBL1.f1; 2018-09-15 10:49:25.052 UTC [26458] LOG: terminating any other active server processes Both smell more like LLVM bugs rather than PostgreSQL, so I guess we can dub that a success. I'll disable JIT on these architectures for the next upload. Christoph