Skip to content

Bootstrap panics if lldb fails to start #126892

Closed
@ChrisDenton

Description

@ChrisDenton

Running ./x test tests/ui --stage 1 on Windows I get:

thread 'main' panicked at src\core\build_steps\test.rs:1820:40:
"lldb" "-P" failed Output { status: ExitStatus(ExitStatus(3221225781)), stdout: "", stderr: "" }

This seems especially unfortunate because (as far as I know) ui tests don't require lldb. It works fine if there's no lldb in PATH at least.

This is ultimately an LLVM issue caused by not installing/shipping its own dependencies (in this case Python310). However, bootstrap shouldn't crash here. It should be treated similarly to lldb not existing unless it is actually necessary,

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.O-windowsOperating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions