Skip to content

LLVM UNREACHABLE when compiling core for x32 ABI #37976

Closed
@sanxiyn

Description

@sanxiyn
$ cat x86_64-unknown-linux-gnux32.json
{
    "arch": "x86_64",
    "data-layout": "e-m:e-p:32:32-i64:64-f80:128-n8:16:32:64-S128",
    "llvm-target": "x86_64-unknown-linux-gnux32",
    "os": "linux",
    "linker-flavor": "gcc",
    "target-endian": "little",
    "target-pointer-width": "32"
}
$ rustc --target x86_64-unknown-linux-gnux32 $(rustc --print sysroot)/lib/rustlib/src/rust/src/libcore/lib.rs
Cannot emit physreg copy instruction
UNREACHABLE executed at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/Target/X86/X86InstrInfo.cpp:4708!
$ rustc --version
rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions