Re: [patch] Support LLVM 7
От
Christoph Berg
Тема
Re: [patch] Support LLVM 7
Дата
Msg-id
20180920210315.GB21756@msg.df7cb.de
Ответ на
Re: [patch] Support LLVM 7 (Andres Freund)
Список
Дерево обсуждения
[patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Christoph Berg <myon@debian.org>
Re: [patch] Support LLVM 7 Andres Freund <andres@anarazel.de>
Re: Andres Freund 2018-09-20 <20180920173238.f5idtzdlpkjsufv5@alap3.anarazel.de>
> That's pretty clearly an LLVM bug. Could you enable jit_dump_bitcode and
> send the bitcode files (I assume there should be something like
> ..bc and the same with .optimized.bc) from the
> data directory?
>
> Not that I think x32 is a particularly popular database platform, but
> LLVM clearly needs to be fixed independent of PG...
$ PGOPTIONS="-c jit_debugging_support=on" psql
psql (11beta4 (Debian 11~beta4-2))
postgres=# set jit=on;
postgres=# set jit_dump_bitcode = on;
postgres=# \i /home/cbe/postgresql/debian/11/src/test/regress/sql/boolean.sql
FATAL: fatal llvm error: Cannot select: 0x580bfdf0: ch,glue = X86ISD::CALL 0x580bfd60, 0x580bfec8, Register:i32 $edi, RegisterMask:Untyped, 0x580bfd60:1
0x580bfec8: i32 = X86ISD::Wrapper TargetGlobalAddress:i32 0
0x580bfe80: i32 = TargetGlobalAddress 0
0x580bfd18: i32 = Register $edi
0x580bfda8: Untyped = RegisterMask
0x580bfd60: ch,glue = CopyToReg 0x580bfcd0, Register:i32 $edi, 0x580bfc40
0x580bfd18: i32 = Register $edi
0x580bfc40: i32,ch = CopyFromReg 0x5807eeec, Register:i32 %27
0x580bfbf8: i32 = Register %27
In function: evalexpr_0_0
Server beendete die Verbindung unerwartet
gdb reports "exited with code 01" at that point.
Christoph
В списке pgsql-hackers по дате отправления