Skip to content

s390x: "LLVM ERROR: Cannot select" when building libcore #36230

Closed
@japaric

Description

@japaric

Using system LLVM (Ubuntu's llvm-3.8-dev) I get this error when building libcore for s390x:

LLVM ERROR: Cannot select: 0x7f65689c91a0: ch = AtomicFence 0x7f6569696aa0, Constant:i64<7>, Constant:i64<1>
  0x7f656bf307d0: i64 = Constant<7>
  0x7f656bf306a0: i64 = Constant<1>
In function: _ZN4core4sync6atomic5fence17h7469b6a226f64f0fE

Meta

$ git rev-parse HEAD
ef9786ce0eac75bbe293d04dadc959bd481236a6

I'm going to try using rust-lang/llvm next. If that doesn't work, this issue would block #36006

cc @alexcrichton @brson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions