Re: [patch] Support LLVM 7

From: Andres Freund <andres(at)anarazel(dot)de>
To: Christoph Berg <myon(at)debian(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] Support LLVM 7
Date: 2018-09-21 23:56:48
Message-ID: 20180921235648.cmbkkd3ik6pctzqi@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018-09-20 23:08:04 +0200, Christoph Berg wrote:
> Re: To Andres Freund 2018-09-20 <20180920210315(dot)GB21756(at)msg(dot)df7cb(dot)de>
> > Server beendete die Verbindung unerwartet
>
> Something ate the attachments. Sorry.
>
> FATAL: fatal llvm error: Cannot select: 0x57e61d40: ch,glue = X86ISD::CALL 0x57e61cb0, 0x57e61e18, Register:i32 $edi, RegisterMask:Untyped, 0x57e61cb0:1
> 0x57e61e18: i32 = X86ISD::Wrapper TargetGlobalAddress:i32<void (%struct.TupleTableSlot*)* @deform_0_1> 0
> 0x57e61dd0: i32 = TargetGlobalAddress<void (%struct.TupleTableSlot*)* @deform_0_1> 0
> 0x57e61c68: i32 = Register $edi
> 0x57e61cf8: Untyped = RegisterMask
> 0x57e61cb0: ch,glue = CopyToReg 0x57e61c20, Register:i32 $edi, 0x57e61b90
> 0x57e61c68: i32 = Register $edi
> 0x57e61b90: i32,ch = CopyFromReg 0x57e1fd3c, Register:i32 %27
> 0x57e61b48: i32 = Register %27
> In function: evalexpr_0_0
> Server beendete die Verbindung unerwartet

This looks like a reported LLVM bug: https://bugs.llvm.org/show_bug.cgi?id=34268

I tried to ping a few people involved in x32 on the LLVM list - not sure
if that has much of a chance. FWIW, it doesn't just appear to be
relevant for JIT, but also outside of it:
https://bugs.llvm.org/show_bug.cgi?id=36743

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-09-22 01:52:28 Re: [PATCH] Tab completion for ALTER DATABASE … SET TABLESPACE
Previous Message Tom Lane 2018-09-21 23:27:48 Re: [PATCH] Tab completion for ALTER DATABASE … SET TABLESPACE