Skip to content

library compilation problem on s390x #62342

Closed
@pazolka

Description

@pazolka

I'm getting the following error when building Parity Ethereum:

LLVM ERROR: Cannot select: 0x3ff58cd1598: i32 = SystemZISD::GET_CCMASK 0x3ff58cd13f8, Constant:i32<15>, Constant:i32<3>
  0x3ff58cd13f8: i32 = srl 0x3ff58a47040, Constant:i32<31>
    0x3ff58a47040: i32 = add 0x3ff58cd1a10, Constant:i32<-536870912>
      0x3ff58cd1a10: i32 = SystemZISD::IPM 0x3ff58cd1870:1
        0x3ff58cd1870: i64,i32 = SystemZISD::USUBO 0x3ff58cd12c0, Constant:i64<1>
          0x3ff58cd12c0: i64,ch = CopyFromReg 0x3ff58837308, Register:i64 %1
            0x3ff58a46f70: i64 = Register %1
          0x3ff58cd1f90: i64 = Constant<1>
      0x3ff58cd18d8: i32 = Constant<-536870912>
    0x3ff589c8260: i32 = Constant<31>
  0x3ff58cd1c80: i32 = Constant<15>
  0x3ff589c8740: i32 = Constant<3>
In function: _ZN15primitive_types4U12814saturating_sub17haa8aa831da279cf8E
error: Could not compile `primitive-types`.
warning: build failed, waiting for other jobs to finish...
error: build failed

Rust version: 1.34.2

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.O-SystemZTarget: SystemZ processors (s390x)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions