pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [patch] Support LLVM 7
Date: Sun, 16 Sep 2018 09:48:34 +0200
Message-ID: <20180916074833.GB4707@msg.df7cb.de> (raw)
In-Reply-To: <20180912210734.GB5666@msg.df7cb.de>
References: <20180912124517.GD24584@msg.df7cb.de>
	<20180912210338.h3vsss5lkuu26ua2@alap3.anarazel.de>
	<20180912210734.GB5666@msg.df7cb.de>

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




view thread (14+ messages)  latest in thread

Message-ID: <20180916074833.GB4707@msg.df7cb.de>
Permalink:  ../20180916074833.GB4707@msg.df7cb.de/
Also on:    postgresql.org/message-id/20180916074833.GB4707@msg.df7cb.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: myon@debian.org, andres@anarazel.de
  Subject: Re: [patch] Support LLVM 7
  In-Reply-To: <20180916074833.GB4707@msg.df7cb.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