Skip to content

llvm 13.0{0,1rc1} on s390x: 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) #53009

Closed
@df7cb

Description

@df7cb

PostgreSQL's query JITing broke on s390x when I moved from llvm11 to llvm13:

2022-01-05 16:28:45.980 CET client backend[44733] pg_regress/partition_join 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)

Seen both with Debian llvm 1:13.0.0-9and 1:13.0.1~+rc1-1~exp3 packages. Architectures other than s390x are fine.

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

Cc: @anarazel @sylvestre
Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002029

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions