Skip to content

rustc/LLVM DiagnosticKind mismatch causes crash when bootstrapping unoptimized w/ MIR. #35131

Closed
@canndrew

Description

@canndrew

I'm unable to build rustc with MIR on my machine. I've tried to do a completely fresh build by running:

$ git clone https://github.com/rust-lang/rust
$ cd rust
$ ./configure --enable-debug --disable-docs --enable-orbit
$ make check-stage1

.. and rustc segfaults

rustc: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore
/home/shum/src/rust/rust/mk/target.mk:212: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core] Segmentation fault

I'm running gentoo linux-3.14.14 x86_64 on a Core i7-2677M with 4GB of RAM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.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