Skip to content

Bootstrap fun with '-Cpanic=abort' #34061

Closed
@MagaTailor

Description

@MagaTailor

#33999 A rustc that doesn't care about crashing should be buildable with panic=abort. Could it work, even now, if building the libpanic_unwind crate, the flag simply got ignored?

rustc: arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libpanic_unwind
Stored value type does not match pointer operand type!
  store i8* null, i32* %4
 i32LLVM ERROR: Broken function found, compilation aborted!
make: *** [arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/stamp.panic_unwind] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-codegenArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions