Comment # 62 on bug 1185952 from
(In reply to Reinhard Max from comment #12)
> The regression test failures with llvm12 are full of messages like this:
> [ 1322s] +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)

According to the change log [1], it seems that LLVM 16 should fix the
underlying issue here:

> The datalayout string now only depends on the target triple as expected.

So the workaround could probably be reverted for LLVM 16 and newer.

I haven't submitted this into Factory yet, and it's probably not supported by
PostgreSQL yet, but you could already make application of
0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch dependent on
%{_llvm_sonum} < 16.

[1]
https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html#changes-to-the-systemz-backend


You are receiving this mail because: