Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1002029: postgresql-14 JIT failure with LLVM 13 on s390x: ERROR: failed to JIT module: Added modules have incompatible data layouts

34 views
Skip to first unread message

Christoph Berg

unread,
Dec 20, 2021, 12:30:03 PM12/20/21
to
Source: llvm-toolchain-13
Version: 1:13.0.0-9
Severity: important

Hi,

after switching from LLVM 11 to LLVM 13 for postgresql-14's JIT
mechanism, JIT fails on s390x with

2021-12-03 11:07:38.194 UTC client backend[815426] pg_regress/tablespace ERROR: failed to JIT module: Added modules have incompatible data layouts: E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64 (module) vs E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64 (jit)

https://buildd.debian.org/status/fetch.php?pkg=postgresql-14&arch=s390x&ver=14.1-3&stamp=1638529682&raw=0

The other architectures are fine (armel/armhf fail for a gcc-11 ICE).

Christoph

Sylvestre Ledru

unread,
Dec 23, 2021, 5:10:03 AM12/23/21
to

Le 20/12/2021 à 18:19, Christoph Berg a écrit :
> Source: llvm-toolchain-13
> Version: 1:13.0.0-9
> Severity: important
>
> Hi,
>
> after switching from LLVM 11 to LLVM 13 for postgresql-14's JIT
> mechanism, JIT fails on s390x with
>
> 2021-12-03 11:07:38.194 UTC client backend[815426] pg_regress/tablespace ERROR: failed to JIT module: Added modules have incompatible data layouts: E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64 (module) vs E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64 (jit)
>
> https://buildd.debian.org/status/fetch.php?pkg=postgresql-14&arch=s390x&ver=14.1-3&stamp=1638529682&raw=0

It seems to be an upstream issue.

Could you please report it? I won't be able to do anything here.

https://github.com/llvm/llvm-project/issues/new

Cheers

S
0 new messages